Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

Animation controlled by the scroll bar

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Howdy ya'll!^_^  Is there a good/better way to tie a gif animation to the scrollbar using a GS timeline and get the same result we see here on ScrollMagic?  https://scrollmagic.io/examples/expert/image_sequence.html  I would rather use a single gif instead of exporting an image sequence.  Any thoughts on how do best do this are welcome.  Thanks everybody!


Here is my .gif loaded into a codepen for reference.     



See the Pen gJjVjb by chriscalabrese (@chriscalabrese) on CodePen

Link to comment
Share on other sites

That is actually using GSAP. If you view the source on the example you will see a TweenMax in there. The title of the example also has a lil GSAP indicator/tag

  • Like 1
Link to comment
Share on other sites

Hi Chris, I noticed ScrollMagic was using GS but wondering if there is a way to do it without breaking my gif into separate images. 

Link to comment
Share on other sites

  • 4 months later...

Hey DeltaFrog,

  Any luck with the gif scrolling?  Asking for a friend.

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.