Motion Physics — Visualized3 models · live traces · no libraries

Motion has a shape.
Learn to read it.

Every animation is a value travelling over time, and each motion model draws its own signature curve — a spring overshoots and settles, easing glides on a fixed arc, inertia coasts and decays. Below: a lab of real components, each driven by the model that fits — play with every one — then the live graphs that explain why they feel that way.

SPRING

Overshoots the target, then settles. Carries momentum.

EASING

A fixed arc over a fixed time. Predictable, never bounces.

INERTIA

A kick, then friction bleeds the velocity to zero.

01

The component lab

14 components

This is where the theory pays off. Fourteen real components, each wired to the model that actually fits — grouped by the physics that drives them. Several respond live as you drag; the rest play out on a tap. Poke at every one; the difference between the right model and the wrong one is something you feel, not something you read.

Spring — tactile, direct, celebratory
ToggleSpring

A tactile switch wants weight — the knob overshoots and detents over, like a real one.

Tab indicatorSpring

Distance varies between tabs; a spring auto-scales its timing so every hop feels right.

CheckboxSpring

A confident pop with a touch of overshoot makes the choice feel registered, not just toggled.

Number tickerSpring
1,240

Spring a value, not a position — the magnitude of the change reads in how long the digits travel.

Like buttonSpring
0 likes

A celebration: scale, rotation and a particle burst on coordinated springs that decay together.

Magnetic buttonSpring

The button springs toward the cursor and snaps home on exit — playful affordance, invisible math.

Radial menuStagger

Same spring per item, offset start times — sequential timing reads as one choreographed gesture.

Drag to reorderSpring
⠿Research
⠿Wireframe
⠿Visual design
⠿Prototype

Grab a row and the others spring out of its way, then it settles into the open slot — live, the whole drag.

Snap sliderSpring
Quality50

Drag anywhere, release, and the thumb springs to the nearest stop with a hint of overshoot.

Easing — calm, authoritative, reflow-safe
DialogEasing

An interruption with authority arrives the same way every time. Predictable ease, never playful.

AccordionEasing

Height animation triggers reflow. A spring would oscillate and make the text inside jitter — easing’s one-way curve stays readable the whole way down.

auto height can’t transition. Measure scrollHeight, set it as a px target, then animate to it.

Height drives reflow; a spring would jitter the text. A one-way ease keeps the unfold readable.

ToastSpring → Ease

Two physics, one element — springs in to be noticed, eases out to be ignored. Match the moment.

Inertia — gesture-driven, momentum-carrying
Momentum carouselInertia → Spring
01
02
03
04
05

Drag and flick — release velocity projects how far it coasts, then a spring snaps it to the nearest card.

Swipe to deleteInertia
Delete
Pay the invoiceswipe ←
Delete
Reply to Taraswipe ←
Delete
Ship the buildswipe ←

Flick past the threshold and momentum carries the row out; nudge it and a spring pulls it back.

Pull to refreshInertia → Spring
Pull down ↓
New message from Tara
Build #482 passed
Invoice paid
Weekly digest ready

Drag down and the content rubber-bands against you; past the threshold it refreshes, then springs home.

Under the hood

The three models, on an oscilloscope.

Everything above runs on three motion models. Here they are stripped bare — plotted live as you drive them, so you can see the exact curve behind every component you just touched.

02

Race to a target

SpringEasing

Click anywhere on the track to set a target. Three pucks race there at once — and their value-over-time is plotted live below. Linear marches at constant speed, easing eases off, the spring blows past and settles. Re-target mid-flight and only the spring carries its momentum through.

linear
ease
spring

↑ click the track to launch

value over time
ease curve
03

The spring's personality

Spring

A spring is two forces: stiffness pulls it home, damping bleeds off energy. Their ratio — ζ — decides everything. Drag damping low and the spring wobbles; raise it and the bounce disappears. The graph re-records every time you change a value.

ζ = 0.37
under-damped

bounces past the target before settling — playful, alive

position over time
04

Inertia & the flick

Inertia

Inertia isn't a trip to a target — it's continuing the user's gesture. Grab the puck and flick it. On release it keeps your velocity and friction bleeds it away. The trace shows position easing to a stop all on its own — no target, no duration, just momentum.

drag & flick the puck →

position over time
low friction → long glide · high friction → quick stop
05

The cheat sheet

Reference

One rule under all of it: match the model to the moment, not the component. A toast springs in to be noticed and eases out to be ignored — same element, two models.

Spring

Toggles · tabs · drag-reorder · likes · value tickers — anything tactile, direct, or celebratory.

Easing

Modals · accordions · page transitions · tooltips — surfaces that need authority and predictability.

Inertia

Bottom sheets · carousels · pull-to-refresh · scroll — anything continuing a gesture the finger started.

Spring · Easing · InertiaHand-built on requestAnimationFrame · no libraries