APERTURE_TO_HALF_ANGLE
The factor that turns an opening angle in degrees into the half-angle arc takes.
APERTURE_TO_HALF_ANGLE: 0.008726646259971648
Import shape from shaders/std and use shape.APERTURE_TO_HALF_ANGLE.
Multiply a 0–360 aperture prop by it. It equals π/360.
Example
distance: ({x, y}, u) => arc(x, y, u('radius'), math.mul(u('aperture'), APERTURE_TO_HALF_ANGLE))
See also
arc— A pie wedge: a filled sector of a circle.