Hi James,
Sorry, filters don't auto update the way they should. The typical workaround is to 'twiddle' the filter attribute on the element(s) using the filter. I know it's a pain...
James Shaw wrote:
This is my first foray into animated svg. This is part of my document:
<defs>
<filter id="blur" filterUnits="objectBoundingBox"><feGaussianBlur in="SourceGraphic" stdDeviation="0 0"/></filter>
<script type="text/ecmascript"><![CDATA[ var blur = 0;
function animate() {
blur++;
var filter = document.getElementById("blur");
filter.firstChild.setStdDeviation(10, 10);
if (blur < 10) {
setInterval("animate()", 100);
}
}
]]></script>
</defs>
<text font-family="Palatino Linotype" font-size="52pt" x="30pt" y="70pt" fill="rgb(128,128,128)" filter="url(#blur)">cadenza</text>
-----
My problem is that setStdDeviation is not animating the text.
I'm wondering if this is even supported since getStdDeviationX() and getStdDeviationY() return "!!! TODO"
Thanks James Shaw
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
