wraybowling / curvemixer

vector graphics tool
http://curvemixer.com
3 stars 0 forks source link

spiro splines #7

Open wraybowling opened 10 years ago

wraybowling commented 10 years ago

spiro splines will convert to castel-curves, but interactive editing will retain only control points for those spiro handles.

All features of spiro spline should be implemented. G2 curves are preferred over G4 though. That includes lineTo points which will be useful when interpreting the segue from casteljau to spiro on the same anchor.

More research needs to be done to understand how curvature is passed into the integrator. According to Raph, the curvature of any curve could be passed into the "black box" and g2 continuity will come out. That means that, in theory, a casteljau anchor complete with pole could lead into a spiro anchor which could lead to another casteljau anchor and pole on the other end.

refactored features

extra features

wraybowling commented 10 years ago

cleanup: d6f2d7a