Quadratic Bezier curve control point calculation demo