Bezier curve generator