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

What is Framer? Join the Community
Return to index
Callil Capuozzo
Posted Nov 30 - Read on Facebook

Has anyone attempted to integrate a canvas drawing library with framer?
I could use some help to figure out how to set a library like this up: http://soulwire.github.io/sketch.js/

Simply drawing items underneath the pointer can't keep up with your movements and is not effective because it's drawing a ton of layers. I think the best way would be to basically draw an svg polyline by tracking the x/y of the pointer event. Anyone have experience doing this or can help me implement this library?

2 Comments

Jordan Robert Dobson

I wouldn't use canvas... But I think the idea of doing SVG makes a lot of sense. I've almost jumped into this a few times.

http://www.w3schools.com/svg/svg_path.asp

Jordan Robert Dobson

Sorry I couldn't put this down. This works on both desktop and mobile devices with my pointer Module: http://jrdn.io/3T191N3l112B

Read the entire post on Facebook