Bezier's Curve

The points P_n are control points of the curve. The point P_0 is the beginning of the 2D Bezier's curve

The 2D curve always goes through the first and last points, and it's always tangent to the line that generates the points P0 and P1 in the point P0 and also is tangent to the line that generates the last two points in the last point. -Choose the number of points of the curve with the slider -Change the value of to with the slider -Move the points to modify the curve