Replies: 2 comments
-
this might sound like a stupid idea, but maybe you can create a timer and interpolate the animation to be based on the timer ms. |
Beta Was this translation helpful? Give feedback.
-
I managed to solve this, lag was coming from using expo-image, I guess after initial install it reads normally from disc, but afterwards it's own cache, which seems to be lagging behind. Using normal rn image works. But I did end up with like 10 different shared values and I tried to interpolate on one value, but you loose individual "springiness" on each element that way. Might keep this open to get more ideas / suggestions. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to re-create animation similar to one below, in essence multiple elements animate one after another with a delay. Some elements start animating before previous animation is finished, so I can't chain animation end callbacks.
The only way I was able to achieve this via was by using 10+ share animation values, each driving animated styles for individual elements, then I start animating them using
withDelay
and different delay values. But this causes a lot of performance issues on actual device.So I am wondering, what would be the best / correct way to achieve something like below? Thank you
RPReplay_Final1690398203.MP4
Beta Was this translation helpful? Give feedback.
All reactions