Skip to content

halftone

const halftone: EffectDefinition<HalftoneHandle, HalftoneOptions>

Defined in: effects/src/halftone.ts:236

Comic-print halftone — convert luminance to a black-and-white dot grid via a custom WebGL+WebGPU shader pair (no pixi-filters dep). Distinct from the rest of the palette: not a tint, not a blur, not a noise — a pattern substitution. Useful as a stylization layer on a scene or as a single-component flourish.

setIntensity cross-fades the original colour back in at intensity 0, so fadeIn ramps the dot grid up and fadeOut ramps it back to the source.