Pikkola Motion Lab, tool No. 53

The curve is the feel.

Two control points decide whether a menu snaps, floats or overshoots. Drag them on a real cubic-bezier, watch four properties move beside a baseline, then copy the same curve into CSS, Tailwind or Framer Motion.

14
named curves
4
properties compared
0
requests sent

The studio

Four numbers, one curve

Drag a handle or type a value. Both lanes start together and share a clock, so the gap between them is exactly the easing you chose.

Presets
The curve cubic-bezier(0.34, 1.56, 0.64, 1)

x stays between 0 and 1, because it is a moment inside the duration. y is progress: it may pass 1 or drop below 0, and the shaded area shows when it does.

Tab to a handle and use the arrow keys. One press moves 0.01, with Shift 0.1.

Live preview 0%
Yourscubic-bezier(0.34, 1.56, 0.64, 1)
Baselinelinear

at 0%: yours 0.00, baseline 0.00

Both lanes run at 60fps in this tab. Nothing is recorded and nothing is uploaded.

Fourteen starts

Curves worth knowing by heart

Each card opens in the studio with its numbers already set. A marked card leaves the box on purpose: that is where the bounce comes from.

Linear

0.00, 0.00, 1.00, 1.00

No easing at all: the element moves at one speed from start to end. Useful as a baseline, and for a progress bar that must not lie.

CSS ease

0.25, 0.10, 0.25, 1.00

The browser default. A quick start, a long settle, and the shape most pages already feel like.

Material standard

0.40, 0.00, 0.20, 1.00

Material's standard curve, for an element that stays on screen and changes state.

Material decelerate

0.00, 0.00, 0.20, 1.00

Starts at full speed and slows the whole way in, for something arriving from off screen.

Material accelerate

0.40, 0.00, 1.00, 1.00

Starts slow and leaves at full speed, for something dismissed or sliding out.

overshoot

Apple-like spring

0.34, 1.56, 0.64, 1.00

One overshoot, then a settle. The motion Apple uses for sheets and toggles.

overshoot

Soft overshoot

0.22, 1.30, 0.36, 1.00

A gentler spring: it passes the end by a few hundredths and returns without a wobble.

overshoot

Bounce out

0.18, 1.78, 0.42, 1.00

The largest overshoot here, 0.17 past the end. Small objects at 400ms or less.

Snap

0.90, 0.00, 0.10, 1.00

Almost nothing in the middle: it holds, then arrives. A switch with two states feels like this.

undershoot

Back in

0.60, -0.28, 0.74, 0.05

Winds up backwards before it leaves. Keep it on small elements, or it reads as a mistake.

Expo out

0.16, 1.00, 0.30, 1.00

Very fast leaving the start, then a long glide. Good for large panels.

Quart in-out

0.76, 0.00, 0.24, 1.00

A symmetric in-out with a strong middle, for a full screen change.

CSS ease-in-out

0.42, 0.00, 0.58, 1.00

The second browser keyword: slow at both ends and leaning neither way. A good default for something that moves once and stops.

Swoosh

0.70, 0.00, 0.84, 0.00

Accelerates late and stops dead, like something thrown and caught.

How it reads

What the four numbers mean

A cubic-bezier is two dimensions in one line of code. Time runs along x, progress runs along y, and the two never mix.

01

x is time, y is progress

x runs left to right from 0 to 1 and stays inside the box, because a moment cannot be negative or past the end. y starts at 0 and ends at 1. At x = 0.5 the curve already tells you how much of the distance is covered.

02

y may leave the box

CSS allows y outside 0 and 1. A handle above 1 pulls the curve over the destination, so the element travels past it and comes back; the Apple-like preset does that by about 0.1. Below 0 it winds up before it leaves. The shaded strip at the top and bottom of the graph is the space where that happens.

03

Two handles, four numbers

cubic-bezier() takes x1, y1, x2, y2. The first pair is the handle leaving the start, the second is the handle arriving at the end. Move one and the middle of the motion changes while both endpoints stay where they are.

The four numbers
Number What it decides Typical
x1 How quickly the motion leaves the start. Larger holds it still for longer. 0.2 to 0.4
y1 Where it is early on. Above 0.1 it has already moved; below 0 it goes backwards first. 0 to 1.56
x2 When it settles. Smaller arrives earlier and eases out for longer. 0.2 to 0.8
y2 Where it arrives from. Below 1 it climbs the last part; above 1 it lands from above. 0.9 to 1.1
duration Not one of the four, but read with them: the same curve at 150ms and 900ms is two different gestures. 150 to 2000ms

Questions

Why can x not leave 0 to 1?

x is a fraction of the duration. A negative or past the end moment would mean the animation starts before it was asked to or keeps going after it finished. Browsers clamp x to the box, and so does this editor. y has no such limit, because progress can overshoot.

Can a cubic-bezier bounce like a spring?

It overshoots once. A real spring bounces several times, which four numbers cannot describe. The Apple-like preset gives the single overshoot most interfaces need. For a repeated bounce, use a keyframe animation or a spring library, which is a different kind of curve.

Why are the two lanes not level?

The lanes start together and share a clock, not a position. At any moment each one shows how far its curve has carried it. Pause the preview and scrub the timeline to see the pair at the same instant.

Which curve should a button use?

Short and close to linear: ease at 120 to 160ms, or 0.2, 0, 0.2, 1 for a slightly softer start. Save the long curves and the overshoot for something that appears, enters or travels across the screen.

Does the curve feel the same on all four properties?

The timing is identical, but the eye is not. Scale reads faster than opacity at the same duration, and rotation reads faster than translation. The four lanes exist so you can judge that on your own screen instead of taking it on trust.

Is anything sent anywhere?

No. The curve, the presets and the code run in this tab, the content policy sets connect-src to none, and the only thing kept is your language, theme and last curve in this browser.