OLD | NEW |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/ SVG/1.1/DTD/svg11-tiny.dtd"> | 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/ SVG/1.1/DTD/svg11-tiny.dtd"> |
3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k"> | 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k"> |
4 | 4 |
5 <!-- an1: Change width to 100 in 10s with a wobbling animation --> | 5 <!-- an1: Change width to 100 in 10s with a wobbling animation --> |
6 <rect width="20" height="100" fill="green"> | 6 <rect x="50" y="0" width="100" height="100" fill="green"> |
7 <animate id="an1" attributeName="width" dur="2s" values="0; 30; 20" accumula te="sum" repeatCount="5" fill="freeze"/> | 7 <animate id="an1" attributeName="y" values="0; 50; 100" dur="2s" repeatCount="i ndefinite"/> |
fs
2014/12/18 16:45:17
I think it's better to use an animation where the
je_julie(Not used)
2014/12/22 15:05:17
I updated TC. PTAL.
| |
8 </rect> | 8 </rect> |
9 | 9 </svg> |
10 </svg> | |
OLD | NEW |