coverage

The orders a wipe can follow.

coverage: { directional, radial, angular, cells, noise }

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

Each word returns a Coverage for reveal.

All of them read the canvas in uv (0–1 across, y down) and correct for its aspect ratio, so a circle stays round and a diagonal stays at its true angle.

Example

coverage: coverage.radial(p('center'))

Members

See also

  • reveal — Fade the child away in coverage order as progress goes from 0 to 1.
  • Coverage — The order pixels disappear in: a number per pixel from 0 (goes first) to 1 (goes last).

Used by

BarnDoors, BlockDissolve, CheckerWipe, DiamondWipe, IrisWipe, LinearWipe, NoiseDissolve, RadialWipe, RandomBars, RippleWipe, VenetianBlinds