You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Thomas DeWeese <Th...@Kodak.com> on 2005/05/01 03:21:00 UTC
Re: SVGOMFEGaussianBlurElement not animating
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: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Thanks to all Batik contributors [was SVGOMFEGaussianBlurElement
not animating]
Posted by James Shaw <he...@btopenworld.com>.
Thomas DeWeese wrote:
> James Shaw wrote:
>
>> Thanks Thomas, removing the filter attr then adding it again fixes
>> things. I'm guessing the answer will be 'no', but is there a list of
>> implementation progress on all the SVG DOM interfaces?
>
>
> The short answer is no. The longer answer is that a general purpose
> dependency system is one of the things I've wanted for quite a while.
> I've started on it a few times but it's always fallen apart.
>
> This is pretty high on my list of things to do but I don't have
> lots of time to work on these things lately. If anyone is interested
> in picking it up I'd be happy to share ideas and make suggestions...
>
Thanks for the feedback, Thomas. You'll have to forgive us users
jumping up and down with feature requests ;-)
In case anyone's interested, I've finished my 3rd year undergraduate
software project and have some screenshots of the app (integrating Batik
and FOP) at http://www.ecs.soton.ac.uk/~js102/cadenza/
This will probably be my last post to this list, until another SVG
project comes along :-)
Many thanks
James Shaw
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Re: SVGOMFEGaussianBlurElement not animating
Posted by Thomas DeWeese <Th...@Kodak.com>.
James Shaw wrote:
> Thanks Thomas, removing the filter attr then adding it again fixes
> things. I'm guessing the answer will be 'no', but is there a list of
> implementation progress on all the SVG DOM interfaces?
The short answer is no. The longer answer is that a general purpose
dependency system is one of the things I've wanted for quite a while.
I've started on it a few times but it's always fallen apart.
This is pretty high on my list of things to do but I don't have
lots of time to work on these things lately. If anyone is interested
in picking it up I'd be happy to share ideas and make suggestions...
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Re: SVGOMFEGaussianBlurElement not animating
Posted by James Shaw <he...@btopenworld.com>.
Thomas DeWeese wrote:
> 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...
>
Thanks Thomas, removing the filter attr then adding it again fixes
things. I'm guessing the answer will be 'no', but is there a list of
implementation progress on all the SVG DOM interfaces?
Cheers
James Shaw
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org