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

What is Framer? Join the Community
Return to index
Josh Ackerman
Posted Jan 09 - Read on Facebook

This is seems like a pretty basic question, but I'm trying to implement a smooth drawing script in Framer (https://github.com/jakubfiala/atrament.js) and after importing the library, and setting up the necessary canvas element I'm still not seeing any result. I'm not getting any errors in the console, and its been a few months since I did any serious stuff with Framer, so I'm not quite sure how to proceed with fixing this. My current guess is that something to do with Framer is blocking the canvas element. Here is the project, https://framer.cloud/vNfAC.

Any help would be appreciated.

1 Comments

Eelco Lempsink

Hmm, I think because how Framer handles events it block Atrament from receiving any. In some cases you can work around this by using the Framer events and passing info from that to an API, but Atrament seems pretty tied in with using the mouse info itself (which makes sense).

Read the entire post on Facebook