Welcome back to our exploration of parametric curves. In the previous lesson, we established a formal mathematical identity for the Bézier curve using control points and Bernstein basis polynomials. That explicit formula, , is powerful for analysis. However, for computation and intuitive understanding, the geometric construction we briefly touched upon is often more elegant and efficient.
Today, we will formalize that geometric process. Our learning outcome is to construct a Bézier curve using the de Casteljau algorithm. You will see that this algorithm is not just a theoretical curiosity but a practical, robust, and recursive method for finding any point on a Bézier curve. It beautifully visualizes the concept of repeated linear interpolation that is at the heart of these curves.
The Algorithm: A Cascade of Interpolations
The de Casteljau algorithm, named after its inventor Paul de Casteljau, provides a method to evaluate a point on a Bézier curve for a given parameter by performing a sequence of linear interpolations. As you'll recall from your math background and our last lesson, a linear interpolation (or "lerp") between two points and is given by .
The algorithm turns this simple operation into a powerful recursive tool. Let's see how this works for curves of increasing complexity.
Quadratic Bézier Curve (Degree 2)
For a quadratic curve defined by three control points , the algorithm proceeds in two stages for a given :
- First Level: We interpolate along the two segments of the control polygon:
- Find .
- Find .
- Second Level: We interpolate along the new segment connecting and :
- Find .
The final point, , is the point on the Bézier curve for that specific value of . As varies from 0 to 1, this point traces out the entire curve.

This process is explained very clearly in the following video.
This segment from the "Mathematics of Computer Graphics" series walks through the visual construction of a quadratic Bézier curve, showing how the intermediate points move as the parameter t changes.
Watch the portion that demonstrates the derivation of a quadratic Bézier curve. This will solidify your intuition for the two-stage interpolation process.
Cubic and Higher-Order Curves
The beauty of the algorithm is that it generalizes perfectly. For a cubic curve with four control points, we simply add one more layer of interpolation.

The following resource provides an excellent, concise summary of this geometric process.
A Primer on Bézier Curves - Pomax
This chapter from a comprehensive guide on Bézier curves explains the de Casteljau algorithm from a geometric and implementation perspective.
Please read the section titled "de Casteljau's algorithm". Focus on the step-by-step description of the process.
The Formal Recursive Formula
While the visual approach is intuitive, a more formal notation is useful for implementation and analysis. Let be the control points for a degree Bézier curve. The de Casteljau algorithm can be expressed with the following recursive formula:
Define for . These are the original control points.
Then, for each level of recursion , and for each point , we compute:
The final point on the curve for the parameter is .
This may look complex, but it's simply a formal way of stating the "cascade of interpolations." The following university course notes present this formula clearly and provide a worked example.
These notes from the University of Maryland offer a rigorous definition of the de Casteljau algorithm and a concrete numerical example.
First, read the section "The de Casteljau Algorithm" (Section 3). Pay close attention to the recursive formula and the triangular table layout, which is a very effective way to organize the calculation. Then, study the worked numerical example that follows, which applies the algorithm to a cubic curve for t=0.1.
A Complete Walkthrough
Now let's watch a full demonstration of the algorithm applied to a cubic curve, complete with numerical calculations. This video will bring all the pieces together: the control points, the parameter u (same as our t), the stages of interpolation, and the final point on the curve.
11 03 The De Casteljau Algorithm
This video provides a clear, step-by-step walkthrough of the de Casteljau algorithm, including a numerical example.
First, watch the main explanation of the iterative lerping process. The lecturer clearly diagrams the R, S, and T points, which correspond to the levels of our recursive formula. Then, watch the worked example where specific coordinates are used with u=1/2.
Unifying the Two Perspectives
At this point, you might wonder how this recursive, geometric algorithm relates to the explicit Bernstein polynomial formula from our last lesson. Are they two different ways to define a curve? The answer is no: they are two perfectly equivalent descriptions of the same mathematical object.
If you algebraically expand the recursive formula of the de Casteljau algorithm, you will arrive at the very same Bernstein polynomial form. This is a crucial insight that unifies the geometric and algebraic viewpoints. The following segment of the video you just watched provides an elegant sketch of this proof.
11 03 The De Casteljau Algorithm
This final segment demonstrates algebraically that the de Casteljau algorithm for a cubic curve expands to the Bernstein polynomial definition.
Watch the short proof. You don't need to memorize every step, but follow the logic to see how the nested (1-u) and u terms multiply out to form the familiar cubic Bernstein basis functions: (1-u)^3, 3u(1-u)^2, 3u^2(1-u), and u^3.
The algorithm also provides an extra benefit: the intermediate points are geometrically significant. For instance, the final line segment of the construction (connecting and in the video's notation) is tangent to the Bézier curve at the calculated point. This is an extremely useful property for analyzing and rendering curves.
Conclusion
In this lesson, we have thoroughly explored the de Casteljau algorithm. We moved from the simple idea of repeated linear interpolation to a formal recursive definition and saw how it can be used to construct any point on a Bézier curve.
Here are the key takeaways:
- The de Casteljau algorithm is a recursive geometric method for evaluating a point on a Bézier curve.
- It works by creating a cascade of linear interpolations, starting with the control polygon and converging to a single point on the curve.
- The algorithm can be visualized as a triangular computation scheme, making it efficient and numerically stable to implement.
- The de Casteljau construction is mathematically equivalent to the Bernstein polynomial definition of a Bézier curve; they are two sides of the same coin.
- The intermediate points generated by the algorithm provide valuable geometric information, such as the tangent to the curve.
So far, we have focused on single Bézier curves. While powerful, they can be unwieldy for creating long, complex, and smooth architectural forms, as adding more control points increases the polynomial degree and can lead to less intuitive control. In our next lesson, we will address this limitation by introducing B-spline curves, a more advanced formulation that allows us to stitch multiple curve segments together with guaranteed levels of smoothness.