Drag the ball and let go, or press Play.

0s0.25s0.5s0.75s1stargetPosition over time, from rest
Settles
0.51s
Overshoot
None
Damping ratio
1.01
Behaviour
Critically damped

Menus, toggles, anything clicked all day. Fast and never overshoots.

500
How hard it pulls to the target
45.0
How fast the motion dies out
1.0
Heavier is slower and swings longer

Roughly visualDuration 0.25, bounce 0 in perceptual terms.

{ type: "spring", stiffness: 500, damping: 45 }

Spring playground

Tune a spring and watch its overshoot and settle, plotted live.

Playground
View source