slyrt
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by slyrt
-
-
2 minutes ago, mvaneijgen said:
When I know I need to animate the same element multiple times I'll try and structure my SVG accordingly. If you for instance wrap all your scaling icons in a <g> tag and at first scale everything within the <g> tag and on scroll animate the <g> tag itself they don't conflict with each other. The benefit of this is that the visitor doesn't have to wait before they can scroll, but it requires you to go in a restructure your SVG.
I don't understand what you mean, so you scale up the whole group of these elements first, and after that, you are animating the single objects? In that case, I have a <g> tag object where all my icons are nested inside... Would it be better that first animate the whole group and after all make the icons fly away individually? 😅
-
4 minutes ago, mvaneijgen said:
I think because you are creating your two timelines simultaneously and animating the same elements, they are both fighting for control.
I've added your ScrollTrigger timeline to your first timeline on it's completion. Now your scroll timeline will be created when your first animation is completed.
Thank you very much that was my mistake, sometimes it's a bit overwhelming to keep track of timelines as a beginner
-
-
Hey, I'm new to gsap and so I tried to do the tutorials here on the website, I'm stuck at that
Preview (from GSAP):
See the Pen KKpLdWW by GreenSock (@GreenSock) on CodePen
so I understand what it is doing but I don't understand why it is changing the bg-color from every element. Help is appreciated!
BG Paul
Preview (mine):
ScrollTrigger pin scrub is not working like it was wished
in GSAP
Posted
Sorry for my late replay...
Now i understand what you suggested, sounds a bit easier to keep track of whats going on in the functionality, will definetely try that in later animations.
Thank you really much for the help!