Jump to content

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

Picture jerks in animations

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

I am new user, and i don't know why my picture is jerks when picture zoom in and zoom out. Could you halp me please? I recorded screen video. You can see it.  




Link to comment
Share on other sites

Hello PereCC, and Welcome to the GreenSock forum!


I see in your code that your animating properties like left and top .. that will cause jank (lost frames) since top and left only animate on a sub-pixel level and can not use the GPU to render.


So in your tweens you should change:

  • left to x
  • top to y

An add this to your tweens:

  • rotation: 0.01

Also it is actually much better for us to see some code for context in a

See the Pen by pen (@pen) on CodePen

or jsfiddle example instead of zip file.


Do you have a code example of what you have tried so we can see your code example in context? This way we can test your code live on codepen to better help you!


Here is a video tut on how to create a codepen example.



  • Like 1
Link to comment
Share on other sites

Thank you alot. Now animation is perfect. =) And i will use codped. Promise  :-P

  • Like 1
Link to comment
Share on other sites

Thank you PereCC .. Glad you got it working, now we can defeat the Rebel Scum! :)

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