symphonyjtm Posted June 14, 2024 Posted June 14, 2024 Hello, I am trying to create a one page website with animation. But I am not sure if what I am doing is correct. When user scrolling trigger different section, three ellipses will have different animation. (Animate three ellipses at the same time) However, as I continue to create more sections, apply more scrolltrigger timelines and apply more animations to the ellipses, the ellipse animation shows little bit lagging or delayed to execute animation somethimes. (or when the user scrolls too fast) Is there any other practices to improve the performance? e.g. how to combine the scrolltrigger timelines? Thanks for help! See the Pen abrVReo by symphonyjtm (@symphonyjtm) on CodePen.
symphonyjtm Posted June 15, 2024 Author Posted June 15, 2024 I would appreciate it if someone can give me some hints or samples. Thank you ?
Solution GreenSock Posted June 16, 2024 Solution Posted June 16, 2024 You don't need to create a whole new timeline for each one when they share the same trigger/start/end. Just put them into a common timeline and use the position parameter to position them all at the beginning of the timeline, like: See the Pen NWVXjQw?editors=0010 by GreenSock (@GreenSock) on CodePen. 1
symphonyjtm Posted June 17, 2024 Author Posted June 17, 2024 22 hours ago, GreenSock said: You don't need to create a whole new timeline for each one when they share the same trigger/start/end. Just put them into a common timeline and use the position parameter to position them all at the beginning of the timeline, like: Thank you!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now