Settle a ball on its target with a spring

A ball passes the target and oscillates briefly before settling.

Try the motion

When to use it

Giving a released handle or button a physical sense of weight.

How the motion works

The ball starts 125px before the target, overshoots by 33px, then corrects by 14px and 6px over 1.3 seconds.

How to use it

Release the ball and follow its smaller and smaller overshoots.

Try a device version

Example files and implementation notes

Choose a device in the demo and save the motion to your collection to download the working HTML and implementation notes as a ZIP.