responsive-sketchpad icon indicating copy to clipboard operation
responsive-sketchpad copied to clipboard

Lag after too many lines drawn

Open ghost opened this issue 4 years ago • 1 comments

Drawing is not longer smooth after too many lines have been made (not even that many).

Rather than looping each stroke and drawing them every frame, it could make more sense to only draw the last line but don't clear the canvas, so you still have the full drawing visible. Also redraw all lines on undo / redo.

ghost avatar Jan 21 '21 11:01 ghost

I can no longer reproduce this issue after refreshing the page with the sketchpad.

ghost avatar Jan 21 '21 11:01 ghost