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 freeOpen 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
Logo colours and palettes
The exact colours of your logo in HEX, RGB, HSL and CMYK, their contrast, and palettes that match your brand.
Open →Remove the logo background
From a PNG or JPG with a plain background to a transparent PNG, with a clean edge and no halo.
Open →Animated loader from your logo
Your logo as a looping loading screen: it spins, pulses, bounces or slides in and out. As GIF or APNG.
Open →Image to SVG
The vectorizer: from PNG or JPG to a clean SVG, with gradients and colour and detail settings.
Open →Favicon and app icons
Your logo as favicon.ico, iPhone and Android icons and a web manifest, with the code for your site.
Open →Negative, black and white logo
Your logo in black, white, one colour, inverted or greyscale, keeping its holes and soft edges.
Open →Logo ready for social media
Your logo centred in the profile pictures and covers of Instagram, X, LinkedIn, YouTube, Facebook, TikTok and WhatsApp.
Open →