Charts · 12
Easing versus springs
A transition is a duration and a curve: it will arrive in exactly 400 ms whatever you do. A spring is a force: stiffness pulls it toward the target, damping bleeds off speed, and it arrives when the physics says so. The difference is invisible on a single clean move and obvious the moment you interrupt one. Click the button, then click it again before the cards land. Both lines on the graph are recorded from the screen, not drawn from the formula.
Spring
ζ = 1.00 (critically damped, fastest with no bounce) · settles in ~725 ms
CSS transition
cubic-bezier(0.25, 0.1, 0.25, 1) · always 400 ms, whatever happens
Click again before it arrives. The spring carries its velocity into the new journey; the transition starts a fresh curve from wherever it was.
transition · spring · where it was told to go. Both lines are sampled from the screen every frame, the transition’s position read back from its computed transform.