Thank you Jonathan!
I understood the principle of providing two values for X,Y, but I don't get how I animate them in GSAP?
In the SVG i type
baseFrequency="0,0"
then I want to animate only the second variable, so I would expect either
TweenMax.to("#turbulence", 8, {
attr:{"baseFrequency":"0,0.1",
repeat:-1,
yoyo:true
});
or
TweenMax.to("#turbulence", 8, {
attr:{"baseFrequency":[0,0.1],
repeat:-1,
yoyo:true
});
But I can't get it to work? How do I feed GSAP with a string that's actually an arrayish thingie?
Also very interested in where I should put a rotation of the filter, as I've tried pretty much every node in the SVG tree and nothing works ;(.
Thank you!