comic¶
type: "comic"
Duotone comic: a clean two-tone split at mid grey printed in paper/ink colours, with halftone dots in the mid tones and a Sobel contour overlay.
Fields¶
Every screen effect also accepts
screen_layerand the shared definition fields (duration,easing,loop,persistent,fade_ticks,sound).
| Field | Type | Default | Meaning |
|---|---|---|---|
paper_r/g/b |
float | 1 / 1 / 1 | Light-tone (paper) colour |
ink_r/g/b |
float | 0 / 0 / 0 | Dark-tone (ink) colour, also used for the dots and contour |
amount |
float | 1 (fades to 0) | Comic look visibility |
mid |
float | 0.5 | Two-tone split point in luma |
Example¶
{
"type": "comic",
"duration": 60,
"params": { "paper_r": 1, "paper_g": 1, "paper_b": 1, "ink_r": 0, "ink_g": 0, "ink_b": 0, "amount": 1 }
}
Code¶
Its datapack definition: