this project only functions properly in turbo mode. shift-click the green flag. this project shows a bezier curve, which is a simple curve function that is used in pretty much everything, including the scratch vector editor. this illustrates one way to render a bezier curve: there are four points, connected by three lines. an interpolation function finds points x% of the way through each of the lines. the points are used to make two more lines. an interpolation function finds points x% of the way through those lines now there is only one line, and the function in used to find a point x% of the way through it. to make a curve, the program finds this point for many values of x, and draws lines between the points. this project uses 100 points. the red lines show this in action when x = 50%, meaning the interpolation function finds the halfway point of the line. this is not how bezier curves are usually rendered. this system is easy to understand, but more optimized functions are usually used. the curve can be rendered quickly, but a bit of lag is added so that it displays properly. this program isn't actually very slow.