ConstStart value
End value
Progress (0–1)
Clamp a value between min and max
Clamp a value between 0 and 1
Linear easing
Quadratic ease-in
Quadratic ease-out
Quadratic ease-in-out
Sine ease-in
Sine ease-out
Sine ease-in-out
Expo ease-in
Expo ease-out
Expo ease-in-out
Smoothstep easing The closer to mid, the faster
Create a real cubic-bezier easing function (same behavior as CSS cubic-bezier)
Normalize an angle in radians to [0, 2π)
Convert a Y-down canvas angle to standard mathematical radian coordinates (Y-up)
Convert degrees to radians, flipping Y-axis for canvas (top-left origin)
Determines the minimal angular rotation direction along a unit circle Returns 1 if clockwise is the shorter path, -1 if counter-clockwise is shorter
starting angle in radians
target angle in radians
Linear interpolation