De Casteljau's algorithm
Problem
: Given a quadratic Bezier-curve defined by start and endpoints P
0
and P
1
and the control point P
c
, find the control point for an arbitrary sub-segment on the curve