CodePudding user response:
If correct understanding can be roughly thisCache when JS generation base line data of change the base line (see you mainly Y), react with the state, and other things you see in a similar cache,
When user tracing than mouse or finger XY coordinates, then according to the coordinates generated on behalf of the deviation of the line, the demand depends on the specific rules
CodePudding user response:
Attached a link on the mouse x, y axis