Cubic Bezier Generator
NOVODrag a cubic-bezier easing curve, preview the animation and copy the CSS timing function.
Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.
Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.
The editor limits y to -0.75 … 1.75; x must stay between 0 and 1 (CSS rule).
linear() is supported in Chrome 113+, Firefox 112+ and Safari 17.2+. Use cubic-bezier() as the fallback.
Exemplos rápidos
Entradas típicas e os resultados que esta ferramenta gera.
Visão geral
A cubic Bézier easing function controls how an animation speeds up and slows down. cubic-bezier(x1, y1, x2, y2) defines a curve from (0, 0) to (1, 1) through two control points. The x axis is time and the y axis is progress, so a steep section means fast motion and a flat section means slow motion.
This cubic-bezier generator draws the curve in an SVG editor with two draggable handles (arrow keys work too), plus sliders and number fields for exact values. Pick a preset such as ease, easeOutQuint or easeOutBack, or paste an existing value; a ball and a square replay the motion with your timing function and duration.
Copy the cubic-bezier() value for transitions and animations, or the optional linear() approximation. The x values stay between 0 and 1 as CSS requires; y values may overshoot for bounce effects. Everything runs in your browser.
Por que usar esta ferramenta?
- Drag the curve handles and see the animation immediately
- Presets for common easings including back and quint
- Paste an existing value to tweak it
- Overshoot (y outside 0–1) supported for bounce effects
- Optional linear() approximation for modern browsers
Recursos
Draggable curve
Two SVG handles with pointer and keyboard control (Shift for bigger steps).
Exact values
Sliders and number fields for x1, y1, x2 and y2.
Animated preview
Moving ball and scaling box with adjustable duration and pause.
Presets
linear, ease, ease-in, ease-out, ease-in-out, sine, cubic, quint, quart and back easings.
Paste and parse
Paste cubic-bezier(...) or a CSS keyword and the editor updates.
cubic-bezier() and linear()
Copy either the timing function or a sampled linear() approximation.
Como usar
Choose a start point
Click a preset or paste an existing cubic-bezier() value.
Shape the curve
Drag the orange and green handles, or type values. Keep x between 0 and 1.
Watch the preview
The ball and box replay with your duration. Pause it when you want to inspect the curve.
Copy the CSS
Copy the cubic-bezier() value and use it as transition-timing-function or animation-timing-function.