Re: animateMotion along things other than paths?

Hi David,

There's no reason this would be hard. Quite the opposite in fact, it'd likely
re-use much of the existing code in a renderer.

If it were to happen, the starting point of the motion and direction would
follow the rules for stroking which mandates where dashing starts and goes.

Cheers,
Alex

--Original Message--:
>Just for fun, I tried using
>
> 
><animateMotion dur="5s" rotate="auto" repeatCount="indefinite" >
>
>   <mpath xlink:href="#E"/>
>
></animateMotion>
>
> 
>where #E actually refers to an ellipse rather than a path.  (Yes I am aware than I can make an ellipse using <path>)
>
> 
>Of course the spec [1] requires that the referenced geometry must be a path, but it made me wonder if this should not be extended to simple things like <circle>, <ellipse>, <polygon>, <star>, <rect> or even <use>. (Use would actually be quite handy for the thing I am working on at present)
>
> 
>Cheers
>
>David
>
> 
>[1] http://www.w3.org/TR/SVG11/animate.html#AnimateMotionElement 
>
>
>
>

Received on Sunday, 30 December 2012 00:39:20 UTC