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

NameTypeNotes
centerArgSpec
startDegArgSpec
directionPropRef | AngularDirection

Example

coverage: coverage.angular(p('center'), p('startAngle'), p('direction'))

See also

Used by

RadialWipe