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.
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it