Draw a bezier curve by OpenGL in python.