On Tue, 21 Sep 2010 12:02:48 -0700, Jacob Beard <[email protected]>  
wrote:

> Hi,
>
> Is it possible to animate path data using SMIL? For example, if I have
> a simple arc:
>
> <path d="M0,400 A100,100 0 1,1 800,400"/>

Yeah, although you should make the number of points the same. So for  
turning a triangle into a square I might use

<path d="L 100 0 L 100 0 L 100 100 z">
   <animate attributeName="d" ...
     to="L 100 0 L 100 100 L 0 100 z"/>
</path>

cheers

Chaals

> And would like to animate the endpoint, so that it starts at 0,0 and
> ends at 800,400 over a duration of 3 seconds, for example. Because "d"
> contains path data, and not simple numerical values, it's not clear to
> me whether the path data can be animated with SMIL. It seems like, in
> order to animate path data with SMIL, you might need an expanded path
> data syntax, like that described in Section 3.1 of the paper
> "Compressing SVG with EXI" from the SVG Open 2010 conference, as this
> gives you elements for each path segment, each of which has simple
> numerical attributes that could potentially be animated:
> http://svgopen.org/2010/papers/3-Compressing_SVG_with_EXI/index.html
>
> But perhaps I'm missing something, and it is currently possible to
> animate path data with SMIL.
>
> If anyone has any insight into this, I'd appreciate it if you could
> let me know. Thanks,
>
> Jake


-- 
Charles McCathieNevile  Opera Software, Standards Group
     je parle français -- hablo español -- jeg lærer norsk
http://my.opera.com/chaals       Try Opera: http://www.opera.com


------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to