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: consti = interpolatorAngle(`0deg`, `270deg`); // Defaults to 'short' direction i(0.5); // 135 (north-west)
Interpolate between angles
aandbbyamount. Angles are in degrees unless specified otherwise.Param: a
Start angle (assumed radian if numbers are given)
Param: b
End angle (assumed radian if numbers are given)
Returns
Interpolated angle, using same unit as the
bangle