dev2023 Posted December 25, 2022 Share Posted December 25, 2022 Merry Christmas to all, hope everyone is safe and doing well! I came across this website: https://camillemormal.com/ Whats the math behind the horizontal scroll, what do I need to learn to create this effect? We need to find out start point and how much to minus from where the user scrolls? Thank you. Link to comment Share on other sites More sharing options...
GSAP Helper Posted December 26, 2022 Share Posted December 26, 2022 Welcome to the forums, @dev2023! There are plenty of demos on the following page that show how to use ScrollTrigger to create horizontal effects: https://greensock.com/st-demos and https://codepen.io/collection/DkvGzg and https://codepen.io/collection/AEbkkJ - you may be able to use one of those as a jumping-off point. That site looks like it may not be using actual scroll, however. Instead, they may be using "scroll-like gesture" event handlers which is what GSAP's Observer plugin is perfect for. Poke around those docs and see what you think. There's a demo on that page. Otherwise, if you've got a GSAP-specific question just post that here along with a minimal demo and we'd be happy to take a look. We just don't have the bandwidth to offer free general consulting services or custom "show me how to create this cool effect from scratch" tutorials. Good luck! 👍 Link to comment Share on other sites More sharing options...
dev2023 Posted December 26, 2022 Author Share Posted December 26, 2022 Okay sounds good, I will try to recreate that effect and post here along the way! Thank you! 1 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