Javascript (jQuery) limits the speed of moving the mouse inside an element

The challenge is to draw an ob canvas curve. The problem is that if the mouse moves too fast, the coordinates are skipped and not captured. ( Html5 / Js canvas capturing mouse coordinates when it moves quickly - my previous post ..)

Is there a cross-browser way to limit mouse speed inside an element (div, canvas, etc.)?

0
source share
1 answer

My guess is that “mouse speed limitation” actually means enabling capture of a large volume of mouse events so that you get more detailed information or mouse path resolution.

, . , , , .. , .

, , .

, , - (, , , .).

API API- (. ), , , .

, :

  • , .
  • 3D ,

, ..

+1

Source: https://habr.com/ru/post/1695386/


All Articles