tommach591 / drewdle

0 stars 0 forks source link

🐛Bug | Drawing Lag #18

Closed tommach591 closed 1 year ago

tommach591 commented 1 year ago

Describe the bug Lag when drawing a lot of lines.

To Reproduce Draw a lot of lines.

Expected behavior Smooth FPS

Additional context Possible solution: Update the drawing system. Create a new canvas for each stroke. https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Optimizing_canvas