Hi, I just learned about GSAP today.
I've got 2 questions:
1. How do I achieve this? : https://codepen.io/shshaw/pen/YpERQQ
I'm guessing I need something like: gsap.to("#textid",{duration:1, repeat:-1, x:200}) but somehow have it only affecting the text color gradient. I tried searching in the doc - words like background, text color, etc., but had no luck.
2. https://codepen.io/michalsnik/pen/WxNdvq
I've got the basic animation working with a simple gsap.from({}) but I just don't know how to make it trigger based on scrolling. Also tried searching the doc with words like scroll but this too, had no results.
Thanks in advance!