Open the editor

Animation easing curve generator

The curve decides how movement is spread over time: whether it starts slowly, brakes at the end or overshoots and comes back. Drag the two points, watch the ball move and copy the code.

Drag the two points or type the values.

cubic-bezier(0.34, 1.56, 0.64, 1)

It overshoots and comes back: a bounce.

Your curve

Linear, to compare

Classics

From the Motiful editor

The code

/* Your curve */
:root {
  --ease-motiful: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.element {
  transition: transform 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card {
  animation: fade-in 800ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

What if your logo moved?

Upload your logo to the editor and Motiful animates it from your own file: it draws itself, fills in and ends identical to the original.

Animate your logo for free

Open the editor, upload your logo and choose how it comes in.

Frequently asked questions

What is cubic-bezier?

A curve defined by two control points that CSS and JavaScript use to set the pace of an animation. The four numbers are the coordinates of those two points.

Why can a value go above 1?

If the second number of a point goes above 1 or below 0, the animation overshoots and comes back: that gives the bounce effect.

Does it work for both transition and animation?

Yes: the same value works for transition-timing-function, animation-timing-function and the JavaScript Web Animations API.

More free tools