posterize

Reduce the child to a few flat color levels, like a screen-printed poster.

posterize(steps: ArgSpec): PointwiseEffect

Import effects from shaders/std and use effects.color.posterize.

steps is the number of levels per channel; 2 to 20 is the useful range. Fewer steps give bolder bands.

Parameters

NameTypeNotes
stepsArgSpec

Example

effect: posterize(p('levels'))

See also

  • solarize — Invert only the bright parts of the child, the darkroom solarization look.
  • isolines — Draw topographic contour lines over the child, traced from its brightness or its alpha.

Used by

Posterize