Interpolate between angles a and b by amount. Angles are in radians.
a
b
amount
import { interpolateAngle } from 'https://unpkg.com/ixfx/dist/data.js';interpolateAngle(0.5, Math.PI, Math.PI/2); Copy
import { interpolateAngle } from 'https://unpkg.com/ixfx/dist/data.js';interpolateAngle(0.5, Math.PI, Math.PI/2);
Start angle (radian)
End angle (radian)
Optional
Interpolate between angles
a
andb
byamount
. Angles are in radians.