
Hi Tav, In the Catmull-Rom path specification, what is missing is how to form the segment between (x1,y1) and (x2,y2). Catmull-Rom forms a segment between p2 and p3 when points p1,p2,p3, and p4 are given. The draft says to start drawing a path from p1. Does that mean that the start point is doubled in the calculation? (powerstroke's behavior at the moment, doubling the start and end knots)
Issue 9: Yuksel et al. "On the Parameterization of Catmull-Rom Curves", http://www.cemyuksel.com/research/catmullrom_param/catmullrom.pdf
-Johan
On 24-8-2014 8:49, Tavmjong Bah wrote:
Hi,
I'm sure we've talked about it before but in the context of discussing the new Catmull-Rom path commands[1] yesterday at the SVG Working group meeting we briefly discussed adding a new close path command that would insure smoothness when closing a path. There is significant support for doing so. Can somebody whip up a quick proposal that I can present to the group? (SVG with a couple of figures would be good.) Or at least give me some input into the idea. We have two more days of meetings, Monday and Tuesday.
Thanks,
Tav
[1] https://svgwg.org/svg2-draft/paths.html#PathDataCatmullRomCommand