XML Elves

XML Elves

<community>of XML and SVG Developers</community>


Is there a polyline animation?

This is a discussion on Is there a polyline animation? within the SVG Questions forums, part of the SVG Forums category; I understand that you can animate the attributes of an object in SVG, but what if I wanted to animate ...


Go Back   XML Elves > SVG Forums > SVG Questions

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices


Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-10-2004, 11:41 AM
Junior Member
 
Join Date: May 2004
Posts: 4
Default Is there a polyline animation?

I understand that you can animate the attributes of an object in SVG, but what if I wanted to animate the points along a polyline. That is I have a polyline at one time and want to animate it to another (and then possibly to other lines after that). How does one do that in SVG, and does it require that the lines have the same number of points?

Thanks for any information in this regard.
-Lewey

P.S. The reason is I hope to make an SVG exporter for my tablet pc based rapid animation creator Ink AniEd which animates one "ink stroke" to another.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-10-2004, 01:58 PM
Anonymous
Guest
 
Posts: n/a
Default Re: Is there a polyline animation?

Quote:
Originally Posted by Lewey
I understand that you can animate the attributes of an object in SVG, but what if I wanted to animate the points along a polyline. That is I have a polyline at one time and want to animate it to another (and then possibly to other lines after that). How does one do that in SVG, and does it require that the lines have the same number of points?
If you want smooth animation from polyline to other you need same number of points.
I add example on my site
http://pilat.free.fr/english/animer/...e_morphing.htm
You can also animate d attribute for path with some restrictions for smooth animation :
same structure with only lines and/or Bezier curves
In ASV 3-6beta arcs cannot give smooth animation ...
See examples
pilat.free.fr/english/animer/index.htm

Michel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-10-2004, 07:03 PM
Junior Member
 
Join Date: May 2004
Posts: 4
Default Is there a polyline animation?

Hi Michel,
Just wanted to say thank you very much those examples where exactly what I was looking for. That is an excellent collection you have there. I do have one question though, is there some way of resetting the global time? So in my SVG I have lots of animations which all start and stop at different times, is there some way to reset them all at once to do looping or a reset button? Thanks.
-Lewey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-11-2004, 02:05 AM
Anonymous
Guest
 
Posts: n/a
Default Is there a polyline animation?

Quote:
Originally Posted by Lewey
I do have one question though, is there some way of resetting the global time? So in my SVG I have lots of animations which all start and stop at different times, is there some way to reset them all at once to do looping or a reset button?
Use setCurrentTime() to reset or give value to timeline
See example from tutorial about scripting
http://www.learnsvg.com/tutorial2/ex...urrentTime.svg

By script you can also stop animation
http://www.learnsvg.com/tutorial2/ex...endElement.svg

Michel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
animation, polyline


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -6. The time now is 08:41 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

Canon Pixma Ink Cartridges
We stock Canon Pixma ink cartridges and Canon Pixma compatible ink cartridges. We offer Free UK delivery on our compatible ink cartridges

Hard Disk Drive Repair Recovery Manchester...
Use the specialists in hard disk drive data recovery and repair. They do all well-known operating systems.

ink cartridges Free UK Delivery on ink cartridges such as Canon, Dell, Epson, hp & Lexmark.

1 2 3 4 5 6 7 8 9 10