Re: [svgwg] Add a method to return the path direction (tangent) angle at a given distance

> What is the motivation? Can they be consistent?

It has been suggested that using the marker algorithm for animations is not suitable because of the half-angle rule at joins.  The single-frame flash at an "odd" angle is supposedly undesirable.

To test this claim out for myself, I made this little thing.

https://jsfiddle.net/yx5tjq16/

For a square, in fast mode, I would probably agree that the marker algorithm doesn't look as nice.  However the severe angle change at corners will be exaggerating the effect.

In real world conditions, with smoother animation, we are only rarely going to land *exactly* on a segment boundary position.  Here's a better example using `rAF()`.  Note that I have artificially boosted the chance of landing on a join.

https://jsfiddle.net/yx5tjq16/1/




-- 
GitHub Notification of comment by BigBadaboom
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/338#issuecomment-320660972 using your GitHub account

Received on Monday, 7 August 2017 13:19:43 UTC