Jump to content
Search Community

Math behind parallax horizontal slider

dev2023 test
Moderator Tag

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...