Jump to content
Search Community

Not smooth animations on iPad/iPhone

Dennisat test
Moderator Tag

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

Note that I am working on other's implementation, I am not familiar with GSAP yet.


In this animation, when the safe opens... red boxes are coming out of it.

There is a performance issue with these flying boxes. They don't "fly" smoothly only on ios devices (all of them).


This is happening at line 168 in logosDistances.forEach loop.

For the debugging, to ensure that there is no other animation in progress at the same time... I wrapped this tween in a timeout of 3sec.


There is TinyURL for this animation, the: https://tinyurl.com/redredbox

Thank you in advance

See the Pen vjPaNO by dennisat (@dennisat) on CodePen

Link to comment
Share on other sites

SVG filters can be very processor intensive which can yield sub-optimal animation results. 

If your logos are all the same size (or aspect ratio), you might do better with a bitmap (png) shadow and place it underneath each logo.

I'm not exactly sure what the best performing alternative would be here.

  • Like 5
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.
×
×
  • Create New...