Cubic Bézier CSS Animation Easing Generator
Generate parametric cubic-bezier(x1, y1, x2, y2) timing functions with interactive velocity curves, CSS transition rules, and live GPU animation previews.
Mathematics of Cubic Bézier Timing Functions
A cubic Bézier curve is a parametric curve defined by four control points: (P_0(0, 0)), (P_1(x_1, y_1)), (P_2(x_2, y_2)), and (P_3(1, 1)). The position (B(t)) at time parameter (t in [0, 1]) is computed via Bernstein polynomials:
In CSS animations, the X-axis represents time progression and must strictly lie within ([0.0, 1.0]), while the Y-axis represents animation progression and can exceed ([0.0, 1.0]) to generate realistic elastic recoils, anticipations, and rubber-band bounce effects.
Frequently Asked Questions
Why use custom cubic-bezier over standard ease-in-out?
Standard CSS presets like ease and ease-in-out often look robotic and generic. Bespoke cubic-bezier timing functions introduce physical mass, elastic recoil, and snappy responsiveness tailored to your brand's interaction language.
Does cubic-bezier trigger browser layout repaints?
When applied to composited properties like transform and opacity, modern browsers execute the cubic-bezier evaluation directly on the GPU compositor thread, yielding silky-smooth 120 FPS performance with zero CPU layout thrashing.
Explore Related Colors & UI Design Tools
View All Design Tools →CSS Box Shadow Generator
Layered ambient drop-shadow generator with elevation presets and blur radii.
Aspect Ratio Calculator
Calculate 16:9, 4:3, 21:9 responsive dimensions and CSS padding hacks.
Color Palette Harmony
Generate complementary, triadic, and analogous harmonic color schemes.
Color Contrast & Hex/RGB Converter
Audit foreground/background WCAG 2.2 AA and AAA contrast compliance.