On 4-9-2014 0:52, Josh Andler wrote:
On Wed, Sep 3, 2014 at 2:36 PM, Johan Engelen <jbc.engelen@...2592...> wrote:
- remove CubicBezierFit and CubicBezierJohan interpolators, add
Catmull-Rom interpolator
It appears to me (and I could be wrong) that the smoothness parameter only affects the Johan interpolator. Is that correct? I'd be interested to see the Catmull-Rom one of course.
The Centripetal Catmull-Rom interpolator is now in trunk. I think it is justified to add it this late in dev-cycle, because afaik it is the main contender for future SVG's variable stroke width paths. It has certain features that I think are sometimes desired, sometimes not desired: it can result in non-function curves (multiple values at certain time coords), which means the stroke will "back up on itself". Don't know how to explain quickly. Build latest trunk and play with it to see what I mean.
cheers, Johan