Drag the 4 control points to reshape the cubic Bezier curve. The algorithm recursively subdivides line segments at parameter t to find points on the curve.