This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Christy Yang
Posted May 05 - Read on Facebook

Hi all,

Is it normal for Framer Studio to run at molasses pace in regards to animating anything with force2d? I am wondering if I export this into a web project and have people view it on the phone (instead of just mirroring on my browser) will it be just as slow?

So far, the Chrome browser runs things smoothly but I'm trying to figure out a way for Framer Studio to not lag as well.

9 Comments

Koen Bok

This might prove difficult.

The short explanation is: the browser can render crazy fast if the CPU is not involved, basically sending an image to the GPU and telling it what to do. The GPU is built for this and has few limits on when it will saturate.

But the GPU can do only so much (scale, opacity, etc) and when you start doing complicated things (especially around masking) the CPU has to get involved. This is where things to get less performant.

When multiple parts are involved to get pixels on the screen (we call this the rendering path), different browsers might apply different tricks. That is why you can see performance differences under these circumstances.

I'm writing a performance article about Framer, but I hope this makes things clear until then :-)

Christy Yang

Okay, so this means that I can safely assume chrome will render well on browser based off of what I see in performance when mirroring through Framer Studio, but adding it onto the phone will handle differently right? Thanks for the fast reply!

Koen Bok

If you use force2d and in some other scenarios, yes.

Also keep in mind that a desktop CPU is 100x faster as a mobile CPU, so if it is involved performance on desktop may be fine, but not on mobile.

Christy Yang

Dang okay thank you!

Christy Yang

If I load this prototype on mobile, and run through some animations once, will it be faster the second time around if I set a "reset" button? As in, does mobile only need to process slowly once?

Jordan Robert Dobson

I would consider getting out for force2d mode as soon as you can after seeing your work... when you do that mask animation... consider switching to a non force2d setup when at the map... etc.

Jordan Robert Dobson

Maybe just use it for those transitions. :)

Christy Yang

Oh! How do I non force2d after reveal, because I use this same animation for multiple screens

Jordan Robert Dobson

I might use a dummy duplicated set of layers.

Read the entire post on Facebook