Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Give your mouse some mass

Project Description

===HeavyMouse===

A simple program to give your mouse momentum and mass

–install–

pip3 install heavymouse

–usage–

python3 -m heavymouse

–details–

heavymouse uses defopt for command line options, you can see the details by running

python3 -m heavymouse –help

usage: heavymouse.py [-h] [–drag DRAG] [–grav GRAV] [–bottom BOTTOM]
[–left LEFT] [–right RIGHT] [–top TOP] [–allsides ALLSIDES] [–maxspeed MAXSPEED] [–framerate FRAMERATE]

HeavyMouse - a python mouse mover

example, for bouncy walls, no gravity and less speed:

python heavymouse.py –drag .04 –grav 0 –allsides bounce –maxspeed 10

optional arguments:
-h, --help show this help message and exit
--drag DRAG amount of drag. 0.0 to 1.0, default is 0.02 (default: 0.02)
--grav GRAV gravity, default is 1.5 (default: 1.5)
--bottom BOTTOM
 can be ‘bounce’, ‘wrap’ or ‘stop’ - default is bounce (default: bounce)
--left LEFT can be ‘bounce’, ‘wrap’ or ‘stop’ - default is bounce (default: bounce)
--right RIGHT can be ‘bounce’, ‘wrap’ or ‘stop’ - default is bounce (default: bounce)
--top TOP can be ‘bounce’, ‘wrap’ or ‘stop’ - default is bounce (default: bounce)
--allsides ALLSIDES
 will override settings for each side - no default (default: None)
--maxspeed MAXSPEED
 prevent the mouse moving (much) faster than this each frame - default is 40 (default: 40)
--framerate FRAMERATE
 frequency the program operates at - default is 50 (default: 50)
Release History

Release History

This version
History Node

1.2

History Node

1.1

History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
heavymouse-1.2.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Sep 17, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting