javascript - How can I animate a series of mouse events to look like the mouse moves from point A to point B? -


to clear, i'm not talking visually making mouse moving point point b. proof of concept regarding friend's captcha system, want replicate behavior of mouse moving 1 point event listeners (trying check cursor moved target rather simulating click) fooled.

what i'm having trouble how animate cursor's path manually. consider code using jquery simulate mousemove event:

var $canvas = $('canvas'); var event = $.event('mousemove'); event.clientx = //x coord event.clienty = //y coord $canvas.trigger(event); 

i'm @ loss how set x , y coords in such way animate 1 coordinate another.

how can done?


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -