Re: Thoughts about variable-width strokes in SVG2

Rik Cabanier:

...
>
> That sounds reasonable. Going with bezier might give more control.
> However, at the same time beziers have certain capabilities (for instance
> they can fold over themselves) which don't make sense on a stroke.
>

For animateMotion this is already restricted, to avoid, that viewers have
to go back in time or to apply interference of quantum wave packets 
instead of classical objects to get such effects - both options  maybe not
trivial to implement today ;o) 
One can have similar restrictions for variable stroke-width.
This ensures, that one gets a monotone progress from one
stroke-width list item to the next.
If one aligns with animateMotion, the advantage is, that one
already has solutions for problematic situations, because it
is typically much more problematic to have such funny effects
for a motion than for a change of a width in space ;o) And those
are already avoided for animateMotion.

I think, the CSS animation drafts had already suggestions to apply
the restriction only to the time direction, therefore one can investigate,
if it is already ok to restrict only the direction of the pace of the path
and not the perpendicular stroke-width direction.
However, if the stroke-width direction is not restricted, one cannot delay 
the problem with negative widths. 

Olaf

Received on Tuesday, 7 May 2013 09:22:34 UTC