So I messed around a bit just to see what the various results were. Unfortunately Inkscape locked up while dragging a power stroke knot so a particularly odd one with catmull isn't included. Anyway, here are 4 examples with each type of interpolator. I would consider keeping Fit as an option as it has an interesting handling of 3 and the only one that doesn't double up on 4.
After you open this, you need to select all of the number 4 examples and press an arrow key, as it doesn't render the end cap correctly on load. https://www.dropbox.com/s/525yp1fagn0fb96/powerstroke.svg?dl=0
Cheers, Josh
On Thu, Sep 4, 2014 at 3:05 PM, Johan Engelen <jbc.engelen@...2592...> wrote:
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