by amelius · 10y ago · 0 comments
I'm asking because this is a style that is used a lot in cartoons.
Then you have to compensate for the introduced transformation in the stroke path geometry itself.
Example: http://codepen.io/mxfh/pen/RopMvr
Kind of hacky, but this could be automated by evaluating the stroke transforms and applying the reverse transforms to source path geometry for compensation.
But of course applying the inverse transform to arbitrary paths could still be a tricky mathematical operation.
You might be able to achieve something like that with a filter, which could then rely on the underlying path being animated, but I'm not sure where to begin in that case, or whether it's possible.