We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I can't find where is the problem with my sketch. Every time I resize the browser's window, the drawing made with line(pmouseX, pmouseY, mouseX, mouseY) disappears. Is this normal? How could I avoid it?
Here is the Pen from it: https://codepen.io/skmecs/pen/LWapZJ
thank you all in advance
best regards, Gil