Jump to content
GreenSock

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

Splitting Image Animation

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

Hello guys,

 

Is there a way (I'm sure there is but I do not know yet) to get the same animation in the images scrolling alternately? The top portion of the image scrolls to the left and the bottom portion scrolls to the right. Please see the url below.

 

http://www.poigneedemainvirile.com/

 

My rough idea is to split the image in two and then create two handler for animations and trigger the animation at the same time. Is there better / more optimized way to do this? :-)

 

P.S. Been reading/studying GSAP for 2-3 weeks already. I have a bit familiarized myself with the concepts and now it's time to apply what I have learned so there are some learning curves. Please bear with me. :D

 

Thanks guys!

Link to post
Share on other sites

Hi kwing,

 

It's pretty much what you and cekvenich said: two images, each controlled by a different tween.

 

If you hit any difficulties, get a little demo and we will help troubleshoot it.

 

Link to post
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.

×