0
Please give a example of animate a SVG circle?
I have failed to animate a SVG circle😭😭😭😭😭 please help me https://code.sololearn.com/WKaEKSccM200/?ref=app
4 odpowiedzi
+ 2
with your code:
<svg><circle cx="80" cy="80" r="50" fill="green"><animate attributeName="cx" from="0" to="300"
dur="3s" repeatCount="2"></circle></svg>
+ 2
Cool dozule, so changing:
attributeName = "c"
To:
attributeName = "cx"
was the fix for Sabyasachi Pramanik 's code 😄👍
+ 1
yes, and there was an unnecessary / too here: repeatCount="2"/>