The smooth curve behind every font glyph, vector drawing, and animation ease. It is drawn by de Casteljau’s algorithm — nothing but repeated linear interpolation between control points, a shrinking triangular cascade that collapses to the point on the curve. And its two names honour two different men: the curve to Bézier, the algorithm to de Casteljau, who had it first.
Between each adjacent pair of control points, take the point a fraction t of the way along (a lerp); that gives one fewer point. Repeat on the new points, and again, until a single point remains — that is the curve at t. Slide t to sweep the curve; the faint segments are the collapsing cascade. live demo
“Bézier invented the Bézier curve” — he invented published it; de Casteljau had it three years earlier, but Citroën locked it away. cited
De Casteljau’s algorithm is the stable, drawable method, not the fastest (Horner on the Bernstein form is O(n)). de Casteljau 1959 / Bézier 1968
The whole algorithm is a + (b − a)·t per coordinate — one subtract, one multiply, one add — and it runs on the compiler: