Expand description
t∈[0,1] → [0,1] tweening curves. Each is clamped at the ends so
f(0.0) == 0.0 and f(1.0) == 1.0 exactly (the demo + tests rely on it).
Functions§
- bounce
- Gravity bounce-to-rest.
f(0)=0,f(1)=1. - ease_
in_ out_ cubic - Smooth accelerate-then-decelerate (the workhorse).
- ease_
out_ back - Overshoots slightly past 1.0 near the end, then settles — a confident “snap into place”. Endpoints are still exactly 0 and 1.
- elastic
- Springy elastic settle (decaying sine).
f(0)=0,f(1)=1. - linear
- Identity ramp.