spacedeck / spacedeck-open

Spacedeck, a web based, real time, collaborative whiteboard application with rich media support
GNU Affero General Public License v3.0
1.01k stars 243 forks source link

Scribble Tool jumpy behavior on fast drawing #233

Open christf opened 2 years ago

christf commented 2 years ago

Expected Behavior

Drawing with a wacom tablet I am using the scribble tool to capture handwriting or simple drawings.

Actual Behavior

Unfortunately points seem to get dropped from the very start of the stroke. I did verify with krita whether the devices work correctly. They do. When only very slowly drawing, spacedeck recognizes the data. Beginning a stroke or drawing quickly leads to unusable results. Unfortunately this means the user must adapt to spacedeck and as a result the scribble tool is less useful than it could be.

Possible Solution

other issues mention optimization code for svg. I might try to turn it off if I knew how to do it.

Steps to Reproduce the Problem

  1. select scribble tool
  2. start drawing
  3. see the shapes be incomplete

Specifications

christf commented 2 years ago

https://user-images.githubusercontent.com/4321652/165399338-a852e364-91dc-4a83-b47d-738da1a0046c.mp4

I made an example, that clearly shows that fast strokes - for example the "s" in the word "fast" or my "D"s and "B"s are incomplete and points are dropped. The problem is even visible on the letter "o" in "slow". At the beginning points are dropped. On longer strokes after a while it is fine.