Share Posted May 7, 2022 I would like to create an animation like the link below. If possible I want it to be like a film scrolling like in cinema or something. Can someone please let me the how to create this kind of animation? The hard part is the top and bottom mini thumbnail getting position like what is shown. I'm not sure what should I use if I should use a scrub or is my HTML structure wrong and will not help achieving the animation I expect. https://s3.eu-central-1.amazonaws.com/www.glenfiddich.com/Screen+Recording+2022-05-07+at+6.18.53+PM.mov See the Pen OJzqWpO by madz-ullang (@madz-ullang) on CodePen Link to comment Share on other sites More sharing options...
Solution Solution Share Posted May 8, 2022 That looks like something that isn't really driven by a true scroll at all - it's likely just listening for events (wheel/touch/pointer) to trigger animations. You could use Observer for that, sorta like this demo: See the Pen XWzRraJ by GreenSock (@GreenSock) on CodePen Good luck! 1 Link to comment Share on other sites More sharing options...
Author Share Posted May 8, 2022 4 hours ago, GreenSock said: That looks like something that isn't really driven by a true scroll at all - it's likely just listening for events (wheel/touch/pointer) to trigger animations. You could use Observer for that, sorta like this demo: Good luck! Guess you're right about this. I encountered an issue with the scroll scrub. Specially when I try to scroll really fast it plays the animation based on the number of scrolled item which is not what I want. Seems that Observer is the way to go. Thanks Link to comment Share on other sites More sharing options...
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