Ahhh, thank you.
That works brilliantly for the skewX (and all the other variables) but not for delay as far as I can tell. I was hoping to have a random repeat delay too.
textTL
.to(text_to_distort, {
attr: {
baseFrequency: gsap.utils.random(0.2, 2, true),
numOctaves: gsap.utils.random(2, 10, 1, true),
seed: gsap.utils.random(1, 4, true),
},
x: gsap.utils.random(-2, 2, true),
y: gsap.utils.random(-2, 2, true),
skewX: gsap.utils.random(-20, 20, true),
scale: gsap.utils.random(0.5, 1.1, true),
duration: text_distort_dur,
delay: gsap.utils.random(0, 5, true)
})
I thought by adding a random delay to the first tween in the timeline it would add a random repeat delay. Is there another method? I don't seem to be able to apply a random function to the repeatDelay variable on the timeline itself.