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

What is Framer? Join the Community
Return to index
Rich Cornish
Posted Aug 29 - Read on Facebook

Is there any way to keep the IDs of DOM elements consistent between Framer page refreshes, so that we can jump down into the guts so we can integrate HTML5 canvas drawing? Seeing as it's "just JavaScript" it should be possible but Framer's helpers obstruct this as far as I can see. I was hoping to animate a layer along a circular path (canvas) while using spring physics to speed up/slow down the orbit.

3 Comments

Koen Bok

I would just use a CSS class. You can add it with layer.classList

Koen Bok

Well it's open source so you can always repurpose Framers spring physics code for anything you want to build.

Koen Bok

We don't have path animations yet.

Read the entire post on Facebook