Jump to content
GreenSock

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

Animation controlled by the scroll bar

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

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.
×