Bézier Curve


Use the Pen tool and click to add control points.
Use the Illustrator tool (experimental) and click and drag to add control points like in Adobe Illustrator.
Drag the control point handles to manipulate the curve (holding [shift] to snap to grid).
Hold [shift] and click handles to remove control points.
Hold [control] and click on a curve to subdivide at that point
Drag on the slider to change the sample rate of rendering: the maximum depth of the De Casteljau algorithm for subdivision.

View Source including De Casteljau's algorithm and Graham Scan algorithm for convex hull
Zipped folder containing all source code including all sorts of GUI objects

Back to Programs