Coverage

The order pixels disappear in: a number per pixel from 0 (goes first) to 1 (goes last).

class Coverage

Import effects from shaders/std and use effects.reveal.Coverage.

Get one from a coverage word, then reshape it with the methods below. Each method returns a new coverage, so they chain. Pass the result to reveal.

Example

coverage: coverage.directional(p('angle')).folded()

See also

  • coverage — The orders a wipe can follow.
  • reveal — Fade the child away in coverage order as progress goes from 0 to 1.