Algorithm to emulate mouse movement as a human does?
Posted
by Eye of Hell
on Stack Overflow
See other posts from Stack Overflow
or by Eye of Hell
Published on 2010-01-09T17:20:04Z
Indexed on
2010/05/23
13:10 UTC
Read the original article
Hit count: 255
Hello
I need to test a software that treats some mouse movements as "gestures". For such a task I need to emulate mouse movement from point A to point B, not in straight line, but as a real mouse moves - with curves, a bit of jaggedyness etc. Is there any available solution (algorithm/code itself, not a library/exe) that I can use?
Of course I can write some simple sinusoidal math by myself, but this would be a very crude emulation of a human hand leading a mouse. Perhaps such a task has been solved already numerous times, and I can just borrow an existing code? :)
© Stack Overflow or respective owner