0

How can i animate a ellipse? I have been trying but its not working

I have been trying to animate Buti can't see what's wrong with my code . I have a pic of my code if anyone can help me? here's my code: <svg width="2000" height="2000"> <ellipse cx="200" cy="100" rx="70" ry="100" style= "fill:yellow"> <animate attributeName="x" from="0"to="320"dur="2s"fill="freeze"repeatCount="2"/> </ellipse> <rect width="130"height="200" x="220" y="520" fill="grey" stroke:"black"/> </svg>

20th Jan 2017, 1:30 AM
britney thompson
britney thompson - avatar
4 ответов
+ 1
attributeName="rx" there is no x in ellipse .. those little things ;)
20th Jan 2017, 1:51 AM
KiX
+ 1
yeah.. i know those situations. take a break ;)
20th Jan 2017, 1:59 AM
KiX
0
oooooooo thank you sooo much I've been staring at this code for an hour
20th Jan 2017, 1:57 AM
britney thompson
britney thompson - avatar
0
okay yea I think I need a break 😁
20th Jan 2017, 2:01 AM
britney thompson
britney thompson - avatar