coverage.directional
A straight edge sweeping across the canvas.
coverage.directional(angleDeg: ArgSpec): Coverage
Import effects from shaders/std and use effects.reveal.coverage.directional.
angleDeg is in degrees; 0 wipes left to right, 90 top to bottom. The edge reaches both ends of the canvas exactly at whatever angle you give.
Parameters
| Name | Type | Notes |
|---|---|---|
angleDeg | ArgSpec |
Example
coverage: coverage.directional(p('angle'))
See also
coverage.radial— A circle growing out fromcenter, an iris wipe.coverage.angular— A clock hand sweeping aroundcenter.