Cornu and Bezier Curves

I'd love to get my sticky mitts on a QC equivalent of this. http://nodebox.net/code/index.php/Cornu#cornu

What it does is render lovely spirally Cornu curves from a set of X/Y coordinates. Here's a nice example of it working on a font outline http://nodebox.net/code/index.php/Cornucopia

I'd be happy if it was 2D-only (and I guess it could be rendered using NSBezier that way), but obviously a 3D version would be even nicer!

The other thing I'd like to see, which is probably a bit easier, is a simple 2D Bezier Curve renderer. I'd envisage it taking a structure containing an XY position for each point and XY positions for both 'handles' for each point, and rendering a nice antialiased path or a filled shape if the path is closed.

a|x http://machinesdontcare.wordpress.com