Example
Build a quadratic Bezier point by repeated linear interpolation.
highlighted = computed this step
Step 1 — Set up
Set up the exact input values.
control points and t(((0, 0), (2, 4), (6, 0)), 1/2)
Step 2 — First edge
Compute the highlighted value.
first edge point(1, 2)
Step 3 — Second edge
Compute the highlighted value.
second edge point(4, 2)
Step 4 — Curve point
Compute the highlighted value.
R(5/2, 2)
de-casteljau-quadratic
de Casteljau's algorithm turns a curve point into repeated exact linear interpolation.