Drag the points A, B, C, and D to change the Bézier curve. Slide the variable "t" to visualize its construction.
I used De Casteljau's algorithm. Feel free to use this!