This project creates a parabola from three points. When you click for first time you create Ax and Ay When you click for second time you create Bx and By When you click for the third time you create Cx and Cy Intermediate points Px and Py are calculated from those three points. Click on green flag to start over.
P is calculated according to the following formula Q = (1-t)*A + t*B R = (1-t)*B + t*C P = (1-t)*Q+ t*R Credits: http://pixarinabox.org/