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

What is Framer? Join the Community
Return to index
Ban Nguyen
Posted Dec 22 - Read on Facebook

Could someone please help? I would like to create a prototype where user can pick a color to paint on an image, and recognize which location they are painting on. Please send me some samples, tutorials or something to start with. Thank you so much!

7 Comments

Andrew Nalband

Hey Ban Nguyen here's something that I did a while ago that sounds like exactly what you're looking for. This was one of the first things I did on Framer, so I haven't had a chance to review it. It uses paper.js and Jordan Robert Dobson's Pointer module. It's a bit clunky, but serves the purposes of letting people do some drawing. http://share.framerjs.com/ln0tkvlm1a2r/

Ban Nguyen

Thanks Andrew Nalband!

Ban Nguyen

Btw, how do you use touch event for this dropdown you created it: http://share.framerjs.com/cqrhhbupi4qu/

Andrew Nalband

Hey Ban Nguyen - here's an example that prints out the html of the dropdown item that has been clicked http://share.framerjs.com/amupy6jpxcx4/

Ban Nguyen

I meant instead of mouseOver, can we use click or touch. when you click on "Invite Guest" it shows the dropdown and when you select an item it will close the dropdown. Thanks Andrew Nalband!

Ban Nguyen

not sure if this is a right way http://share.framerjs.com/8ikucjm955gb/

Arron J Hunt

Quadrants can be defined by looking at the screen's width and height, and dividing them by 3. http://share.framerjs.com/teebzepr35jt/

(p.s. horrible code, could be done better)

Read the entire post on Facebook