Draw a bezier curve freehand and extract the code needed to draw it.