Cubic Bezier Easing Generator — Visual CSS Animation Curves
ease, ease-in and ease-out are just three points in an infinite space of motion feels. This tool opens the whole space: drag the curve until the ball moves the way your interface should feel.
How to use the Cubic Bezier Generator
- Start from a preset to learn the landmarks (ease, back, bounce-out).
- Adjust handles: handle 1 shapes the start of the motion, handle 2 the end. Y values beyond 0–1 create overshoot (anticipation and bounce).
- Copy the cubic-bezier() value into your transition or animation.
How it works
A CSS cubic-bezier is a parametric curve from (0,0) to (1,1) with two control points. Browsers solve it exactly as this page does: for a given time x, find the curve parameter whose x matches (binary search here), then read its y as progress. Overshoot comes from control-point y values outside [0,1].
Worked example
A menu that "pops" pleasingly instead of sliding dully: the back preset’s overshoot, borrowed here, becomes the app’s signature motion.
Frequently Asked Questions
What do the four numbers mean?
Two control points: (x1, y1, x2, y2). x is time (must stay 0–1); y is progress (free to overshoot).
Why does the ball go backwards with "back"?
A negative y1 makes progress dip below zero first — the wind-up before the throw. That anticipation is what feels alive.
Easing for UI — a good default?
ease-out curves (fast start, gentle landing) suit most interface motion; ease-in suits elements leaving the screen.
Is my curve valid CSS?
Yes — any x in [0,1] works; the generator’s sliders enforce exactly that.
More Colour & CSS Generators
The visual Color Palette Generator and the basic Gradient Generator live in Loona Image Tools; this family is the CSS-developer-grade set (multi-stop gradients, exact code output).