Uses Bezier interpolation to graph curves in OpenGL.