I am pretty new at this, but i’ve created a canvas where its possible to draw with both mouse and touch, and when I am finished with the drawing I want to save the coordinates of the drawing to a simple txt file(Not save as image).Is there anybody how knows if it possible and how to do it?
And is there a way to save the coordinates automatically when the mouseEnd or touchEnd event is fired(I don’t want to use a save button if possible)?
mousedown,mousemoveandmouseupevents (And their coordinates), and store this data in some format. You can't however, save a txt file from JavaScript. - Cerbrus