Home
CB
Interactive CSS Cubic Bezier Easing Playground
CSS Animation & Transition Lab

Interactive CSS Cubic Bezier Easing Playground

CSS transition-timing-function ベジェ緩動曲線のリアルタイム調整と動作比較。

2D Curve CanvasInteractive
-0.5-0.2500.250.50.7511.251.500.250.50.751P1: 0.25, 0.1P2: 0.25, 1Time Progression (0 → 1)Output Value / Progress
Drag P1 and P2 handles freelyS-Curve (Ease In Out)
Coordinate Fine-Tuning
0.00 - 1.00
Control Point 1 (P1)
[0.25, 0.1]
X1 (Time, 0 to 1)
Y1 (Value, -2.0 to 3.0)
Control Point 2 (P2)
[0.25, 1]
X2 (Time, 0 to 1)
Y2 (Value, -2.0 to 3.0)
Motion Physics Diagnostics
Start Velocity0.40x
End Velocity0.00x
Max OvershootNone
Wind-upNone
Real-Time Motion Comparators

Live side-by-side comparison with standard browser curves running at native 60/120 FPS.

Duration:1.2s
Your Custom Curve
cubic-bezier(0.25, 0.1, 0.25, 1)
▶
CSS ease
cubic-bezier(0.25, 0.1, 0.25, 1)
▶
CSS linear
cubic-bezier(0, 0, 1, 1)
▶
CSS ease-in-out
cubic-bezier(0.42, 0, 0.58, 1)
▶
Curated Presets Library
Ease (Default)
CSS Native

Standard web default: moderate start, brisk acceleration, and gentle decelerated finish.

[0.25, 0.1, 0.25, 1]
Linear
Uniform

Uniform, steady motion with zero acceleration. Ideal for continuous spins or color tickers.

[0, 0, 1, 1]
Ease In

Starts slowly and accelerates toward the climax. Suitable for exiting or collapsing elements.

[0.42, 0, 1, 1]
Ease Out

Begins at maximum velocity and smoothly brakes. Perfect for incoming banners and toast alerts.

[0, 0, 0.58, 1]
Ease In Out

Symmetric ramp: slow start, rapid transit in the middle, and gradual settlement at target.

[0.42, 0, 0.58, 1]
Back Out (Snappy Pop)
Popular

Overshoots the target by +27.5% before snapping back. Gives UI cards tactile springiness.

[0.175, 0.885, 0.32, 1.275]
Back In (Wind Up)

Pulls backwards like drawing a bowstring before launching forward at high speed.

[0.6, -0.28, 0.735, 0.045]
Anticipation & Overshoot
Expressive

Classic animation curve: deep negative wind-up coupled with massive overshoot bounce.

[0.68, -0.55, 0.265, 1.55]
Rubber Band Spring

Rapidly shoots +56% past end position then quickly contracts back like elastic rubber.

[0.34, 1.56, 0.64, 1]
Soft Rebound

Subtle micro-overshoot (+12%) designed for clean modern button interactions and modals.

[0.25, 0.95, 0.35, 1.12]
Material 3 Emphasized
M3 Spec

Google Material Design 3 emphasized transition: brisk start with elongated soft landing.

[0.2, 0, 0, 1]
Material Decelerate

Entering navigation sheets and dialogue backdrops that arrive rapidly and settle.

[0, 0, 0, 1]
Material Accelerate

Exiting items moving out of viewport with steady build-up and swift departure.

[0.3, 0, 1, 1]
Apple iOS Snappy
iOS

iOS style dynamic spring feedback mimicking tactile Haptic touch and sheet expansion.

[0.15, 0.85, 0.35, 1.2]
Ease In Quad

Quadratic easing curve: gradual natural growth resembling physical gravity drop.

[0.55, 0.085, 0.68, 0.53]
Ease Out Quad

Quadratic deceleration: quick start with gentle, natural slowdown without rebound.

[0.25, 0.46, 0.45, 0.94]
Ease In Out Quad

Balanced quadratic ease: comfortable acceleration and deceleration profile.

[0.455, 0.03, 0.515, 0.955]
Ease Out Expo

Near-instant leap into final position with extended settling glide. Very snappy.

[0.19, 1, 0.22, 1]
Ease In Expo

Holds near starting position until dramatic burst of movement near completion.

[0.95, 0.05, 0.795, 0.035]

Production-Ready Code Generator

Export curve directly into CSS, Tailwind, Framer Motion, WAAPI, SwiftUI, or Compose

/* CSS transition-timing-function */
transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);

100% Private Browser Execution

All data processing, parsing, and compilation execute strictly inside your local browser memory. Zero external server uploads.

Instant Live Preview

Instant real-time reactive computation delivers immediate feedback on every keystroke with zero network latency.

Production Standards & Compliance

Outputs clean, cross-browser CSS and visual values verified against modern web layout standards.

Formula & Reference Guide

Interactive CSS Cubic Bezier Easing Playground — Reference Guide

Fine-tune transition-timing-function cubic-bezier(x1, y1, x2, y2) curves with real-time motion comparators and overshoot physics.

Interactive CSS Cubic Bezier Easing Playground — Reference Guide — Client-Side Calculation Flow & Methodology
Interactive CSS Cubic Bezier Easing Playground — Reference Guide — Client-Side Calculation Flow & Methodology
CSS Easing Functions

Standard CSS Transition Easing Functions & Curves Table

Standard CSS timing functions, cubic-bezier() control point parameters, acceleration curve dynamics, and ideal UI animation motion contexts.

Standard CSS Transition Easing Functions & Curves Table
Easing NameCSS Keywordcubic-bezier() ValuesAcceleration Curve DynamicsIdeal UI Motion Use Case
Linearlinearcubic-bezier(0, 0, 1, 1)Uniform speed from start to finishLoading spinners, continuous color gradients, infinite progress
Ease (Default)easecubic-bezier(0.25, 0.1, 0.25, 1)Fast acceleration, gentle decelerationGeneral UI hover states, default micro-interactions
Ease-Inease-incubic-bezier(0.42, 0, 1, 1)Slow start, accelerates towards endElements exiting screen, dropdown close transitions
Ease-Outease-outcubic-bezier(0, 0, 0.58, 1)Fast initial burst, slow smooth landingModal popups entering view, drawer open animations
Ease-In-Outease-in-outcubic-bezier(0.42, 0, 0.58, 1)Slow start, fast middle, slow finishAccordion expand/collapse, carousel slide transitions
Spring Bouncecustomcubic-bezier(0.34, 1.56, 0.64, 1)Overshoots target and bounces backAttention-grabbing notifications, like button animations
W3C CSS Easing Functions Level 1 Specification.

Key Parameters & Controls

Key Parameters & Controls
ParameterType / UnitDescriptionDefault
Control Point P1Coordinate Pair (x1, y1)First tangent anchor governing initial velocity; x1 is bounded [0, 1], y1 allows overshoot.0.25, 0.1
Control Point P2Coordinate Pair (x2, y2)Second tangent anchor governing terminal deceleration; x2 is bounded [0, 1], y2 allows overshoot.0.25, 1.0
DurationTime in seconds (s)Total transition span over which the velocity polynomial is integrated.0.5s

Pro Tips & Best Practices

Constrain X-Coordinates to [0, 1]

The CSS specification requires time progression x-coordinates to strictly remain within [0.0, 1.0] to guarantee forward monotonic time.

Exploit Elastic Overshoot with Y-Coordinates

Setting y1 or y2 outside the [0.0, 1.0] range produces lively spring bouncebacks and anticipatory windup effects natively in CSS.

Pair with Composited GPU Properties

Apply custom bezier functions exclusively to transform and opacity to maintain steady 60/120 FPS playback.

Common Gotchas & Troubleshooting

⚠️Browser ignores cubic-bezier rule and falls back to linear

Check if x1 or x2 is less than 0 or greater than 1; invalid X coordinates invalidate the entire CSS declaration.

⚠️Animation feels sluggish or stutters during micro-interactions

Ensure the animated element has will-change: transform configured and avoid animating layout properties like width or margin.

Frequently Asked Questions

What mathematical equation defines cubic-bezier in CSS?▼

It is a parametric Bernstein cubic polynomial B(t) defined by four points: P0=(0,0), P1=(x1,y1), P2=(x2,y2), and P3=(1,1).

Can y1 or y2 be negative in CSS?▼

Yes. While x values must stay within [0, 1], y values can be negative or exceed 1 to create elastic bounce and overshoot micro-interactions.

What is the equivalent cubic-bezier for browser 'ease'?▼

The CSS keyword 'ease' corresponds mathematically to cubic-bezier(0.25, 0.1, 0.25, 1.0).

Why should I avoid animating width or height with bezier curves?▼

Animating width, height, or top/left forces layout reflow on every frame; use transform: scale() or translate() for GPU compositing.