Construction workspace
Interactive graph of the curve and its control pointsThe horizontal axis is x. Positive y points upward. Labeled control points can be moved with the arrow keys. Drag the plot background to pan. Scroll over the plot to zoom.P0P1P2P3
Curve settings
Load a preset
Control points
P0P1P2P3
B(t)
—
Advanced settings

Changing degree adds or removes control points and can change the shape.

Coordinates ±1,000,000 · Degrees 1–10 · Up to 512 sample intervals

Graph display

Construction layers

Interactive Bezier Curve Visualizer

This Bezier curve visualizer shows how De Casteljau interpolation builds a point from the control polygon. Move the slider, inspect the labeled construction layers, or play and step through the parameter. Start at t = 0.5, where every interpolation is a midpoint you can check by hand. That gives you a way to verify a Bézier curve without expanding its polynomial.

Follow the construction from polygon to point

Take every adjacent pair of controls and mark the same fraction t along each edge, measured from the earlier point toward the later one. Connect the new points in their existing order. This creates a shorter polygon with one fewer point. Repeat with adjacent pairs from that polygon until only one point remains. That point is B(t).

Use the default cubic. Its first layer has three points, the next has two, and the last has one. Labels such as L1·0 identify the layer and the position within that layer. The dashed lines indicate connections used for interpolation, while the solid curve shows the path of the final point as t varies.

Open Advanced settings and choose a layer to isolate it. Read the coordinate card below the graph to check nearby points that are hard to distinguish visually. The weights under layer k describe a blend of k plus one successive original controls. Each starting index uses the same weights and a different consecutive subset of controls.

Midpoint exercise for a classroom or self-study

With P0 = (0, 0), P1 = (0, 1), P2 = (1, 1), and P3 = (1, 0), predict the first-layer coordinates at t = 0.5. The left edge has midpoint (0, 0.5), the top has midpoint (0.5, 1), and the right edge has midpoint (1, 0.5). Read the layer card to check order as well as coordinates.

Find the midpoints of the two new edges. They are (0.25, 0.75) and (0.75, 0.75). The final midpoint is (0.5, 0.75). The upper control points are at y = 1. At t = 0.5 the final point sits below them because intermediate averages blend in the lower endpoints.

For a second prediction, move P1 from (0, 1) to (0, 2) before setting t to 0.5 again. The first two layer-one heights become 1 and 1.5, while the third stays at 0.5. The final height becomes 1.125. The 0.375 increase matches the cubic midpoint weight of P1, which is three eighths.

Explore why the convex hull contains the curve

Enable Convex hull to draw the smallest convex region containing the controls. Its boundary can skip points when they already lie inside. Every first-layer point lies on a segment between two controls. Since the region is convex, it contains that segment. The same argument applies again at every layer, so the final point stays inside for every t between zero and one.

Try a preset with at least three non-collinear controls. Move an interior point while watching the filled hull and the curve. When a control crosses the hull boundary, the hull can change which points are corners. Align every control on a straight line, or use a line preset. The hull collapses to a segment and all interpolated points stay on it.

At t = 0, the algorithm picks the first point of each pair. At t = 1, it picks the second. The final endpoints are therefore P0 and the last control. When neighboring controls coincide, their shared position is unchanged by interpolation in that pair. The other pairs still determine the rest of the construction.

Check the interpolation on a single edge

Switch to the line preset and set t to one quarter. The only construction step lands one quarter of the way from the start to the end. Switch back to a cubic with the same slider value. Each stage still uses one quarter of the distance along its own edge. Follow the leftmost point across the rows to see how repeated blends accumulate.

Compare the parameter and travel distance

Play to see the marker move as the parameter increases. Pause it, then use Step to advance by 0.05. Enable the trace to keep the visited portion highlighted. The chart shows the complete path while the highlighted section ends at the current marker. The playback speed control changes how fast t moves and keeps the mathematical construction the same.

Pick a quadratic and put its interior control close to the starting endpoint. Step through the first part and compare the movement with steps near the end. The distances differ because t measures interpolation. Equally spaced samples can crowd near slow parts of a curve.

For a higher degree exercise, set the degree to four and move the new endpoint away from the previous endpoint. Predict how many points appear in each row. Five controls produce four, three, two, and one. The method extends the same rule up to degree ten. Selecting a single row can make a crowded drawing easier to read.

Frequently asked questions

Why are there straight lines in a tool for curves?

Every step is straight-line interpolation. The endpoints of a step are already functions of t from earlier steps. Repeating that operation makes the final x and y coordinates polynomials.

Can I follow the exercise with reduced motion enabled?

Yes. Use the parameter slider or Step, and compare the coordinates from each layer. The tool leaves automatic playback off while the browser reports that preference.

Which page should I use to save the drawing?

The curve editor has graphic and data exports. The calculator is useful when you want derivatives, an arc length estimate, or a table of parameter samples from the same controls.

Further reading · A Primer on Bézier Curves

Explore related tools