- This project is showing how to draw a Bezier curve on a computer screen.
- Bezier curves allow you to control what your curve looks like by changing the positions of the control points.
- The formula for a four-point Bezier Curve is: x = t^3*x1 + 3*t(1-t)^2*x2+3*t^2*(1-t)*x3+t^3*x4 and y = t^3*y1 + 3*t(1-t)^2*y2+3*t^2*(1-t)*y3+t^3*y4
- (x1, y1), (x2, y2), (x3, y3), and (x4, y4) are the control points.
- t goes from 0 - 1 at an increment of 0.01.
- Each point on the Bezier Curve is a linear combination of the poisitions of the four control points.
Drag the points to change the shape of the Bezier Curve.