Jump to content
GreenSock

anusky

image zoom is jerking/stuttering

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

Hi again!!!!!

I have a little question related with zoom images!

Normally when I make a zoom in a image with this parameters

 

Example:

 

tl2.add([

     TweenLite.fromTo("#image", moveTime*4, {width:1607, height:1168, top:-241, left:-496}, {width:1100, height:800, x:400, y:-150, force3D:true}) 

]);

 

This zoom has a jerking/shuttering effect when is developing the zoom, something which is not diserable, for most of my clients...

Anyone knows how to fix that?????

 

Thank you in advanced!!!!!!

Link to comment
Share on other sites

I would also strongly recommend animating the scaleX and scaleY instead of width and height so that GPU acceleration can be leveraged and you're not triggering layout/reflow on each tick. For the record, that has nothing to do with GSAP - it's just a browser thing. 

  • Like 1
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.
×