Drawing Canvas
-
Hello everyone,
I'm trying to implement a full screen canvas for drawing like the one used here https://javierunknos.com/. Has anybody done it before and can guide me on how to use it on laytheme?
Thanks in advance
-
@josehoudini the first thing is always google :-)
I looked it up myself because find this super interesting, maybe this works:
https://stackoverflow.com/questions/2368784/draw-on-html5-canvas-using-a-mousep.s. i implemented the code as custom html in the grinder and it literally works instantly.
-
@fr thank you for your quick response, I implemented the first code on the link you sent and it shows, but I can't get it to paint, did you add any js to the head?
-
@josehoudini I did not add anything. I think you have to give it a height, maybe use "browser height for row height" in the grinder with the html code.