W3C home > Mailing lists > Public > www-svg@w3.org > December 2012

Re: animateMotion along things other than paths?

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 29 Dec 2012 13:05:55 +1100
Message-ID: <50DE5003.7040603@mcc.id.au>
To: David Dailey <ddailey@zoominternet.net>
CC: www-svg@w3.org
On 29/12/12 5:10 AM, David Dailey wrote:
> 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)

I think it would be fine to allow this -- we'll be defining more 
precisely what the corresponding path for <circle>, <rect>, etc. are in 
SVG 2, like they were in 1.2T.

<use> I am not sure about, as what would it mean if it were a group of 
elements?  (We could define it to look at all of its descendants, but I 
am not sure that is useful.)
Received on Saturday, 29 December 2012 02:06:21 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:53 GMT