3 ms·
That's not correct. The drag too fast tweak is there to discourage people scribbling all over the place. The actual "fix" for your problem was to collect comma
by mrdoob2 16y ago
That's not correct. The drag too fast tweak is there to discourage people scribbling all over the place.
The actual "fix" for your problem was to collect commands (mouseMoves) and send them every 75ms instead of sending a command every mouse move. There is also some simple delta stuff to save on BW
- jjs 16y agoIn my case, it's the throughput that was a problem; there was practically zero latency or cost of sending a message using node and WebSockets. I was considering doing some sort of curve-fitting to (lossily) compress the drawing commands. Sending a couple points to describe a quadratic or Bézier curve is a lot nicer than hundreds of points to describe tiny line segments. And, as luck would have it, <canvas> draws both natively! :)