Code Monkey home page Code Monkey logo

mousetrace's Introduction

MouseTrace
Jason L.
j[at]jlee[dot]me

Description
============
This program displays mouse motion data captured via raw input from windows.
The mouse data displayed is raw, therefore unfiltered. This program also
provides some functionality to save data and graphs.

Usage
======
The top text displays the sample frequency averaged from the ten most recent
samples. The list view displays the last 250 motion samples and their delta
times (in ms) from the previous sample. The next list displays the unique 
absolute motion values.

The [Record] toggle button starts and stops recording of the x, y, and delta
time values to Comma-Separated Value (csv) file.

The [Save Graphs] button saves the graphs as bitmaps. Any previous files are
over-written.

The target graph displays the instantaneous mouse magnitude. This graph is
auto-scaling. The 'Tracers' slider controls the number of tracers to show,
from 1 to 50.

The histograms graph the motion values. The X-axis is the magnitude of
motion, and the Y-axis is the number of motions. The left side is near zero
movement where as the right side is the largest movements. The green bars
represent positive values, and red bars negative. The top graph is X-axis
(left-right) mouse motion and the bottom graph is Y-axis (forward-back) mouse
motion. The histograms are generated from the last 500 motion samples, and,
are auto-scaling.

Notes
======
When the program is run, move your mouse as fast as posible so that the graphs
are scaled to maximum magnitude.

The raw input API is only available on WinXP or greater, so 98/ME/2K won't
work.

Thanks
=======
sxd - for helping me test
google - for helping answer so many questions

Version History
================
0.2.4
-Increased max tracers from 50 to 100
0.2.3
-Fixed a bug in the bitmap writing.
0.2.2
-Fixed a bug that detects motion.
-Added tracers to the target graph.
-Added ability to save graphs.
-Added ability to save values.
0.2.1
-Double buffered the histograms.
-Changed the listview back to a regular list due to resource consumption.
-Changed some fonts.
0.2.0
-Cleaned up and organized some code.
-Added CSV file recording.
0.1.6
-Added unique value list.
0.1.5
-Fixed the Frequency/Hertz computations.
0.1.4
-Changed the x,y listbox to an x,y,ms list view.
0.1.3
-Optimized some drawing code.
0.1.2
-Fixed some GDI leaks.
0.1.1
-Still learning GDI.
0.1.0
-Mostly alpha.

mousetrace's People

Contributors

toadking avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.