DE CASTELJAU'S ALGORITHM


← BACK TO ALL PROJECTS

De Casteljau's Algorithm

(Quadratic Bézier curves)


Core Algorithm

  • Uses recursive subdivision to evaluate points on the Bézier curve
  • Given three control points (P₀, P₁, P₂), constructs intermediate points at parameter t

How It Works

  1. Start with 3 control points
  2. Calculate 2 intermediate points by linear interpolation at t
  3. Calculate 1 final point from those 2 intermediate points
  4. This final point lies exactly on the Bézier curve!

Try This

  • Drag control points to reshape the curve in real-time
  • Adjust the t slider to see the algorithm at different positions
  • Click Animate to watch the algorithm trace the curve

Visual Elements

Bézier Curve
Control Points
Intermediate Points
Final Point B(t)
Construction Lines