Please I need help with animating paths and polygons on svg (html) How do I make it to move? | SoloLearn: Learn to code for FREE!

+2

Please I need help with animating paths and polygons on svg (html) How do I make it to move?

3/3/2018 11:26:21 AM

Mohammed Abdulazeez

5 Answers

New Answer

+8

https://www.sololearn.com/learn/HTML/2213/

+2

here is an example : <svg width="1000" height="250"> <rect width="150" height="150" fill="orange"> <animate attributeName="x" from="0" to="300" dur="3s" fill="freeze" repeatCount="2"/> </rect> </svg>

0

you can learn it in the html tutorial bit I can tell you that you will have to put two coordinates (the one of your start position and the one of your end position). you will also have to put the time of the animation

0

https://code.sololearn.com/WmQQDqSE13q4/?ref=app

0