Interactive Cubic Bézier Shape Example


Drag the line ends or the control points to change the curve. Click the curve to toggle the fill.


code

Your browser does not support SVG

Cubic bézier javascript provided by: SitePoint.com.