DEV Community

Cover image for Pencil.js

Pencil.js

Guillaume Martigny on June 07, 2018

Pencil.js Today, I want to present you Pencil.js; a nice modular interactive 2D drawing library written in javascript. Still in building phase,...
Collapse
 
gmartigny profile image
Guillaume Martigny

Logo build with the library of course ;)

Collapse
 
kayis profile image
K

Somehow the results don't work on mobile :(

(Android/Chrome)

Collapse
 
twigman08 profile image
Chad Smith

I got them working for me on my Android device in chrome. Had to click the rerun button on the bottom right when it showed up.

Though the drag example doesn't let me drag on mobile.

Collapse
 
kayis profile image
K

This button doesn't show, but tapping two times on result solved it.

Collapse
 
gmartigny profile image
Guillaume Martigny

Shoot :/
What were you trying to do ? For my part, examples from gmartigny.github.io/pencil.js/ works.

Collapse
 
tunaxor profile image
Angel Daniel Munoz Gonzalez

Thanks! finally some OOP with all this fuss about Functional stuff, I do miss good OOP libraries from time to time, and as someone that usually stays away from drawing in canvas because it looks too messy, it seems that this could change my opinion!

Collapse
 
gmartigny profile image
Guillaume Martigny

You welcome, and thank you for the nice comment. Please, use it and tell me what you think 😋

Collapse
 
ekimkael profile image
Ekim Kael

Looks good.
I'll try to play with on codepen

Collapse
 
gmartigny profile image
Guillaume Martigny

Please, share what you did I would love to see it.