coverage.angular
A clock hand sweeping around center.
coverage.angular(
center: ArgSpec,
startDeg: ArgSpec,
direction: PropRef | AngularDirection,
): Coverage
Import effects from shaders/std and use effects.reveal.coverage.angular.
startDeg is where the sweep begins, in degrees. direction is 'cw', 'ccw' or 'both' (two hands opening from the start and meeting opposite it), either as a literal or as a select prop declared compileTime: true.
Parameters
| Name | Type | Notes |
|---|---|---|
center | ArgSpec | |
startDeg | ArgSpec | |
direction | PropRef | AngularDirection |
Example
coverage: coverage.angular(p('center'), p('startAngle'), p('direction'))
See also
coverage.radial— A circle growing out fromcenter, an iris wipe.coverage.directional— A straight edge sweeping across the canvas.