+ 3

Can we move circles diagonally using animate or some other tag ?

Can we move circles diagonally using animate or some other tag ?

12th Jun 2018, 2:43 PM
Suprabhat kumar
Suprabhat kumar - avatar
2 Antworten
+ 17
by adding 2 animate tag, and select cx and cy for attributeName <svg width="2000" height="2000"> <circle cx="80" cy="80" r="50" fill="green"> <!-- this animate for x position --> <animate attributeName="cx" from="80" to="300" dur="3s" fill="freeze" repeatCount="2"/> <!-- this animate for y position --> <animate attributeName="cy" from="80" to="300" dur="3s" fill="freeze" repeatCount="2"/> </circle> </svg>
13th Jun 2018, 3:31 AM
Amethyst Animion
Amethyst Animion - avatar
+ 14
yes you can
12th Jun 2018, 3:00 PM
Amethyst Animion
Amethyst Animion - avatar