CSS Cubic Bezier Generator

100% Client-Side Private

Fine-tune custom CSS transition timing functions and easing curves visually

Easing Curve Presets
Control Handle 1 (P1)(0.34, 1.56)
X1 (Time Progression)0.34
Y1 (Value Intensity)1.56
Control Handle 2 (P2)(0.64, 1)
X2 (Time Progression)0.64
Y2 (Value Intensity)1
Test Duration1.2s
Bezier Curve Graph
cubic-bezier(0.34, 1.56, 0.64, 1)
Velocity Simulator Race
Custom Cubic-Bezier Easing
★
Linear Constant Reference (0, 0, 1, 1)
—
transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
W3C CSS Easing Functions Level 1 Specification

CSS Cubic-Bezier & Parametric Easing Curve Engineering Guide

W3C CSS Easing Functions Level 1 specification, Newton-Raphson root solving, and physics-based spring curves.

Core Mathematical & Curve Specifications

  • Strict Time Monotonicity: Enforces valid x-coordinates within [0.0, 1.0] to prevent browser CSS parser invalidation.
  • Unconstrained Progression Range: Allows y1/y2 to exceed [0, 1], unlocking real-time spring overshoot and anticipation physics.
  • Tailwind CSS & Raw CSS Export: One-click export for transition-timing-function and Tailwind arbitrary transition-[cubic-bezier(...)].

Parametric Bernstein Polynomials: How Browsers Compute Easing Points

A cubic Bézier curve is defined by four 2D control points: P0(0,0), P1(x1,y1), P2(x2,y2), and P3(1,1). The curve is parameterized over t in [0, 1] using Bernstein cubic polynomials: B(t) = (1-t)³P0 + 3(1-t)²tP1 + 3(1-t)t²P2 + t³P3. Because CSS transitions require computing progress y given a normalized elapsed time x, browser rendering engines (Chromium Blink, WebKit, Gecko) run iterative Newton-Raphson numerical solvers on each animation frame.

Frequently Asked Questions (FAQ)

Why can x1 and x2 never be negative or exceed 1.0 in CSS?

The horizontal axis represents normalized time flowing from 0% (start) to 100% (completion). If x could move backward (negative or greater than 1), time would flow in reverse or create multiple y values for a single point in time, violating physical causality and breaking CSS transition determinism.

Can y1 and y2 be greater than 1.0 or less than 0.0?

Yes. The vertical axis represents the output progression of the animated CSS property (e.g., scale, opacity, transform). Setting y > 1.0 creates a spring overshoot (the element shoots past its target destination before settling), while y < 0.0 creates a pull-back anticipation effect.

What is the cubic-bezier equivalent of CSS ease and ease-out?

Standard CSS ease maps exactly to cubic-bezier(0.25, 0.1, 0.25, 1.0), while ease-out maps to cubic-bezier(0.0, 0.0, 0.58, 1.0). Custom Bézier curves allow designers to craft punchier, more responsive brand animations.

Pin this tool to your browser side panel

Access this utility anytime with Alt+M without switching tabs. 100% offline & free.

Get Extension

How to craft custom easing curves

  1. 1Drag the two control points on the curve coordinator graph.
  2. 2Click the preview button to test animation timing against default ease, linear, and ease-in-out.
  3. 3Copy the resulting `transition-timing-function: cubic-bezier(...)` CSS.

Organic Animation Physics

Standard `ease-in` curves often feel robotic. Custom cubic-bezier timing imparts momentum, weight, and delight to web interactions.

Frequently Asked Questions

Enjoying CSS Cubic Bezier Generator?Help your engineering peers discover private, ad-free tools!

MiniToolDesk is 100% free and client-side. Your support keeps the web ad-free.

Related Developer Utilities