Experiment 03 · Beginner

Cursor Follower — an object with weight.

One object with real mass: lag, momentum and rotation. The orb chases the cursor the way a physical body chases a target — and squashes as it moves.

Technique · Lerped cursor follow Hint · Sweep your pointer Level · 03 / 10
Demo 03 · Cursor Follower
● lerp 0.08 · mass heavy
lag · momentum · rotation
Technique

Three easing layers and a velocity-driven squash

The core orb, the trailing ghost and the outer ring each smooth toward the target at a different rate — creating a layered sense of mass and drag.

◔

Rotation by direction

The orb's rotation eases toward the heading of travel (atan2 of velocity), so the highlight glides as you change direction.

⇅

Squash & stretch

Velocity scales the orb up to 1.14× as it moves fast and relaxes back to rest — the classic anticipation-and-follow of animation.

Only transforms are written each frame — no layout reads.

Keep exploring

More motion experiments