spring
a dot that chases your cursor with physics
demonstrates: svelte/motion — Spring move the cursor
The dot's position is a Spring. On pointer move, its target jumps to the cursor; the current value eases there under stiffness and damping, so it lags and overshoots like a real object. Let go and it springs back to center. Drag it around — throw it — and watch it settle.