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!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

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

3rd Mar 2018, 11:26 AM
Mohammed Abdulazeez
Mohammed Abdulazeez - avatar
5 Respostas
3rd Mar 2018, 11:45 AM
Vukan
Vukan - avatar
+ 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>
19th Mar 2018, 4:02 PM
mathis de witte
mathis de witte - avatar
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
19th Mar 2018, 3:59 PM
mathis de witte
mathis de witte - avatar
27th Jul 2018, 11:24 AM
CalviÕ²
CalviÕ² - avatar
0
nice
2nd Aug 2018, 9:50 AM
mathis de witte
mathis de witte - avatar