Bezier Curve Editor
Drag the control points to sculpt cubic or quadratic Bezier curves. Copy the CSS easing, SVG path, or JavaScript implementation code for any curve you design.
Frequently Asked Questions
What is a Bezier curve?▼
A Bezier curve is a parametric curve defined by control points. A cubic Bezier has 4 points: P0 (start), P1 and P2 (control handles that shape the curve), and P3 (end). The curve passes through P0 and P3 but is 'attracted' by P1 and P2 without necessarily touching them. They are used everywhere: SVG paths, CSS animations, font outlines, and game pathfinding.
What is the difference between cubic and quadratic Bezier?▼
A quadratic Bezier uses 3 points (P0, P1 control, P2 end) and produces a simpler parabola-like curve. A cubic Bezier uses 4 points (two control points) allowing S-curves, loops, and more complex shapes. Most CSS animations, Canvas paths, and SVG <path> elements default to cubic Bezier for their expressiveness.
What does cubic-bezier() mean in CSS?▼
CSS cubic-bezier(x1, y1, x2, y2) defines an easing curve for animations. The start point is fixed at (0,0) and end at (1,1). x1/y1 define the first control point; x2/y2 the second. X values must be in [0,1] (time). Y values can exceed [0,1] for overshoot/bounce effects. Built-ins like ease, ease-in, ease-out, ease-in-out are all cubic-bezier() calls.
How is the SVG path notation formed?▼
In SVG, M x y moves to a start point. C cx1 cy1, cx2 cy2, x y draws a cubic Bezier to (x,y) with control points (cx1,cy1) and (cx2,cy2). Q cx cy, x y draws a quadratic Bezier. These path commands are used in <path d='...'> attributes and are the building blocks of all SVG icons, logos, and illustrations.
What is the t parameter in Bezier math?▼
t is the parameter ranging from 0.0 (start) to 1.0 (end). Plugging t into the Bezier formula gives the exact (x,y) point at that proportion along the curve. t=0.5 is the midpoint of the curve (not the midpoint of the bounding box). This parametric form makes Bezier curves easy to sample, animate along, and split at any position.
How do I animate an object along a Bezier path?▼
Increment t from 0 to 1 each frame in requestAnimationFrame. Plug t into the Bezier formula to get the current (x, y) position. For easing, apply a non-linear t: ease-in uses t² or t³, ease-out uses 1-(1-t)², ease-in-out combines them. For CSS, use offset-path with a path() value and animate offset-distance from 0% to 100%.
Related Products
on GumroadDeveloper Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →AI Prompt Engineering Toolkit
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →Developer Cheat Sheet Bundle
10 print-ready cheat sheets for the tools developers use every day: Git, Docker, Linux CLI, SQL, Regex, HTTP Status codes, VS Code shortcuts, Bash scripting, jq/JSON, and Markdown.
Buy on Gumroad →You Might Also Need
CSS Specificity Calculator
Calculate CSS selector specificity as (inline, ID, class, element) notation. Compare two selectors to see which wins the cascade. Supports :not(), :is(), :has(), :where(), attribute selectors, and pseudo-elements.
Open free tool →
CSS Clip-Path Generator
Generate CSS clip-path values visually. Choose from 16 polygon presets (triangle, star, arrow, hexagon), circle, ellipse, and inset shapes. Live preview, one-click copy. Free, no signup.
Open free tool →
SVG Editor & Optimizer
Paste, preview, format, and optimize SVG code in your browser. Removes comments, collapses whitespace, shortens hex colors, and reduces file size. Generate base64 data URIs and download clean SVGs.
Open free tool →
More Free Tools
Related Articles
CSS Grid vs Flexbox: Complete Guide with Interactive Examples 2025
CSS Grid vs Flexbox with real code examples for every common layout pattern. Holy Grail layout, card grid, navigation bar, sidebar — see exactly when to use each one.
SVG Optimization Techniques: Reduce File Size by 70% Without Quality Loss
Step-by-step SVG optimization guide. Use SVGO, manual techniques, and build tool integration to cut SVG file sizes by 50-80% while preserving visual quality.
CSS Container Queries: The Complete Guide for Modern Web Development (2026)
Master CSS container queries including @container, container-type, container-name, style queries, size queries, and how to build truly responsive components without media queries.
Tailwind CSS v4: Everything Changed (Migration Guide 2026)
Complete guide to migrating from Tailwind CSS v3 to v4. CSS-first configuration, new utility classes, and step-by-step migration checklist.
CSS View Transitions API: Smooth Page Animations Without JavaScript Frameworks 2026
The View Transitions API enables fluid page animations and shared element transitions natively in the browser — no React Spring, Framer Motion, or animation libraries required. Complete guide with real-world examples for 2026.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →