Skip to main content

Module easing

Module easing 

Source
Expand description

Easing curves used by animation packages and validation tooling.

Functions§

cubic_bezier
Evaluate a cubic Bézier timing curve using Newton iteration and bisection.
sample
Evaluate an easing curve at t in the inclusive range 0..=1.
spring
Evaluate a damped spring. Parameters are mass, stiffness, and damping.