[Subversion Repo]
svn co https://iciifs.com/svn/SvgViewer SvgViewer
- A blur filter can only be applied to an object not an area of the screen
- Animation tags assume time values are in seconds and only supports numeric ranges
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | <defs> <filter id="Gaussian_Blur"> <feGaussianBlur in="SourceGraphic" stdDeviation="10" /> </filter> </defs> <ellipse cx="100" cy="50" rx="70" ry="40" style="fill:#ff0000;stroke:#000000;stroke-width:2"> <animate attributeName="cx" attributeType="XML" begin="1s" dur="2s" end="10s" by="300" repeatCount="indefinite" /> <animate attributeName="cy" attributeType="XML" begin="3s" dur="2s" end="10s" by="100" repeatCount="indefinite" /> <animate attributeName="cx" attributeType="XML" begin="5s" dur="2s" end="10s" by="-300" repeatCount="indefinite" /> <animate attributeName="cy" attributeType="XML" begin="7s" dur="2s" end="10s" by="-100" repeatCount="indefinite" /> <animate attributeName="ry" attributeType="XML" begin="1s" dur="4s" end="10s" by="-20" repeatCount="indefinite" /> <animate attributeName="ry" attributeType="XML" begin="5s" dur="4s" end="10s" by="20" repeatCount="indefinite" /> <animate attributeName="rx" attributeType="XML" begin="1s" dur="4s" end="10s" by="-35" repeatCount="indefinite" /> <animate attributeName="rx" attributeType="XML" begin="5s" dur="4s" end="10s" by="35" repeatCount="indefinite" /> </ellipse> <ellipse cx="400" cy="150" rx="70" ry="40" style="fill:#ff0000;stroke:#000000;stroke-width:2;filter:url(#Gaussian_Blur)"> <animate attributeName="cx" attributeType="XML" begin="1s" dur="2s" end="10s" by="-300" repeatCount="indefinite" /> <animate attributeName="cy" attributeType="XML" begin="3s" dur="2s" end="10s" by="-100" repeatCount="indefinite" /> <animate attributeName="cx" attributeType="XML" begin="5s" dur="2s" end="10s" by="300" repeatCount="indefinite" /> <animate attributeName="cy" attributeType="XML" begin="7s" dur="2s" end="10s" by="100" repeatCount="indefinite" /> <animate attributeName="ry" attributeType="XML" begin="1s" dur="4s" end="10s" by="-20" repeatCount="indefinite" /> <animate attributeName="ry" attributeType="XML" begin="5s" dur="4s" end="10s" by="20" repeatCount="indefinite" /> <animate attributeName="rx" attributeType="XML" begin="1s" dur="4s" end="10s" by="-35" repeatCount="indefinite" /> <animate attributeName="rx" attributeType="XML" begin="5s" dur="4s" end="10s" by="35" repeatCount="indefinite" /> </ellipse> |

