Thank you for your answer and for your reactivity. The code works on wordpress now, but something I hadn't thought about is the opacity of the stroke: can I had it in the html input ?
Hello everyone,
I wanted to implement an interactive drawing on my wordpress using the HTML element.
The code works well outside of wordpress but once implemented, the mouse is movement seems off ( it is far away from the cursor). Any idea why that is ?
Here is the page where i want to...