arevi/wind-mouse ? reverse-engineered prompt
Reverse engineered prompt
Build me a small TypeScript library that generates human like mouse movement points between a start and end position.
I want it to take a settings object with things like startX, startY, endX, endY, gravity, wind, minWait, maxWait, maxStep, and targetArea, then return an array of x and y points I can use anywhere else. It should feel natural and configurable, not just draw a straight line.
Please make it easy to use from Node, with a simple class or function that I can call with random values like in the example. Include a clear README example, basic tests, and keep the code clean and lightweight. If you need to check the latest docs or a good approach online, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit