NaturalMouseMotion

This library provides a way to move cursor to specified coordinates on screen reliably, while being randomly arced to look like real hand moved it there by using a mouse. The default settings should look good enough for most cases, but if user wishes, they can heavily customize the settings and implementations responsible for the trajectory of the cursor for specific use cases.

OTHER License

Stars
221
Committers
2

Bot releases are visible (Hide)

NaturalMouseMotion - v 2.0.3 Latest Release

Published by JoonasVali about 3 years ago

Fix: Fixed issue where spontaneous default MouseMotionFactory initialization caused exception in headless environments.

NaturalMouseMotion - v 2.0.2

Published by JoonasVali about 5 years ago

v 2.0.2

Feature: existing FactoryTemplates now allow passing MouseMotionNature as a parameter.
Fix: Fixed issue with FlowUtil that caused modifier to be applied too early for some inputs. (Did not affect runtime, separate tool.)
Change: Added 'adjustingFlow' Flow template and improved the factory templates accordingly.
Change: constantFlow was removed from averageComputerUser template.

NaturalMouseMotion -

Published by JoonasVali over 5 years ago

v 2.0.1

Feature: When mouse somehow is not ending up on the correct pixel, an adjustment is made and warning logged, so the library is still useful even when the setup is not working correctly or JDK bug is run into.
Feature: Added SystemDiagnosis class, which can be used to validate setting and getting cursor position on user's device.
Fix: Fixed issue with overshoot movements being made with movement length of 0 and as a result waiting more than necessary in total.
Fix: Fixed issue with rounding to closest pixels.
Change: Template GrannyMotion is about 20% faster now.

NaturalMouseMotion -

Published by JoonasVali over 5 years ago

v 2.0.0

Breaking: A lot of interfaces were moved under api package, so some supporting class packages have changed.
Feature: Added concept of flow and speed, which guide how much the mouse is progressing at any given time.
Feature: Added a way to translate coordinates when mouse movement is needed to be simulated somewhere else than screen.
Feature: Added FlowTemplates and FactoryTemplates for quick access for pre configured mouse movement themes.
Fix: Fixed issue when sleep was triggered after mouse reached target.
Fix: Fixed issue with mouse movement time being decreased before first movement was done.
Fix: Fixed issue with effect fade being one off and that sometimes making mouse to miss target by a pixel on first try.