Below is an SVG containing a cubic bezier curve path. You can move the various control points around and the path code will update.