This is another kind of curve called a Catmull Rom spline. It has some advantages over the bezier function,
mainly that you can add as many points as you want to create a continous curve.
This comes at the expense of having fine control over the shape.
// Processing JS: // http://processingjs.org/