Jump to content
Search Community

rmdev

Business
  • Posts

    4
  • Joined

  • Last visited

About rmdev

rmdev's Achievements

  1. Hi Guys, Apologies that the codepen is a little muddled. It's taken from a much much larger project which I've cut down as much as possible. I'm having multiple issues, and I suspect I've just got things in a bit of a state as it's gotten overly complex (for my poor brain). In general, I'm trying to make a slide system, that shows a slide, run's it's inner animations, then runs a transition to the next slide and then runs it's animations, and so on. In the codepen slide one should appear, then slide two, and it should be able to loop continuously by setting the loop variable to -1. The problem I have is that all the inner animations are running at the same time right at the start. I'm obviously doing something silly but I can't spot it. Any help would be greatly appreciated! Cheers, Paul
  2. Yes, that makes perfect sense and works brilliantly. Thanks for all the help
  3. 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.
  4. Hi Guys, I'm trying to create some glitching text that is different on every repeat using an SVG filter and some basic transforms. I'm happy enough with how it looks but can't get the randomised skewX and Delay variables to refresh on repeat despite setting repeatRefresh to true on the timeline and using the gsap random functions or a custom function. I feel like I've set it up correctly but I must be doing something stupid and I can't spot it. Any help would be greatly appreciated!
×
×
  • Create New...