This is an implementation of a quadratic bezier curve. Basically it does a ton of interpolation, and draws it in a certain way.
All my code!