ixfx
    Preparing search index...

    Function interpolatorAngle

    Interpolate between angles a and b by amount. Angles are in degrees unless specified otherwise.

    // Remmebering 0 is east, 270 is south, clockwise is negative:
    const i = interpolatorAngle(`0deg`, `270deg`); // Defaults to 'short' direction
    i(0.5); // 135 (north-west)

    const i = interpolatorAngle(`0deg`, `270deg`, { direction: `long` });
    i(0.5); // 315 (south-east)

    Start angle (assumed radian if numbers are given)

    End angle (assumed radian if numbers are given)

    Interpolated angle, using same unit as the b angle