dotScreen
A classic halftone filter: the layer inside it redrawn as a grid of dots that grow where it is bright.
dotScreen(slots: {angle: PropRef; frequency: PropRef}): GatherEffect
Import patterns from shaders/std and use patterns.dotScreen.
Goes in effect:. angle is the screen angle in degrees (45 is the print default). frequency is the number of dots down the canvas height. The dots keep the child's own color; between dots the output is transparent.
Parameters
| Name | Type | Notes |
|---|---|---|
slots | {angle: PropRef; frequency: PropRef} |
Example
effect: dotScreen({angle: p('angle'), frequency: p('frequency')})
See also
cmykPress— A four-color print filter: the layer inside it separated into ink plates, each screened into dots at its own angle and laid down on paper in order.chosenBy— Picks one whole effect recipe from a select prop, decided when the shader compiles.quantise— Reduces each grid cell of the layer inside to 0 or 1 using a dither pattern.