Bézier Curve(click the canvas to set the control points)

Number of control points: