Mouse Movement Tracker

Move your cursor inside the box below and watch its real path draw live, with total distance, current speed, and jitter, all measured from actual pointer movement.

HARDWARETESTINGPRO / POINTER DIAGNOSTICS

Mouse Movement Lab

Capture actual mouse / trackpad pointer positions. Visualize trails or a density heatmap, then review CSS-pixel distance, movement speed and turn statistics.

READY
Click Start New Test, then move your mouse inside the canvas. Movement elsewhere on the page is not recorded.

New strokes begin when you re-enter the canvas. Leaving it never creates an artificial jump.

Path distance0.0CSS pixels, not physical distance
Current speed0CSS px/s, last valid segment
Average moving speed0CSS px/s, active segments
Peak observed speed0CSS px/s, event-based peak
Observed positions0Mouse/trackpad events or samples
Sharp turns0>60° with segments at least 2px
X-axis travel0.0Absolute horizontal CSS pixels
Y-axis travel0.0Absolute vertical CSS pixels

Live speed samples

Graph starts after the first valid movement segment; readings are browser event-based, not sensor measurements.

Recent recorded positions

#X pxY pxStep pxGap msSpeed px/s
No movement recorded yet.

Exports and previews contain up to 3,000 latest samples. Counters cover the whole current session.

★ ★ ★ ★ ★
4.3/5 (4 ratings)

What Is a Mouse Movement Tracker?

This tool draws your cursor's actual path live on a canvas as you move, while simultaneously calculating real distance traveled, current speed, and how many sharp direction changes your movement contained. Every line segment on screen corresponds to a real recorded pointermove event - the drawing is a direct visualization of your mouse's reported positions, not an animation or approximation.

Watching your own movement path drawn out is a surprisingly effective way to spot tracking problems that are hard to notice just by using a mouse normally - small jumps, gaps in the trail, or an oddly jagged line during what felt like a smooth motion.

How to Use the Mouse Movement Tracker

  1. Choose an Event Source: Standard pointermove works in most browsers, Coalesced Samples uses extra browser-provided positions when available, and Raw Pointer Update is only selectable if supported. These modes describe browser events, not certified hardware polling.
  2. Press Start New Test and move your mouse or trackpad pointer inside the tracking canvas. Your live trail is built from observed pointer positions. Touchscreen touches are excluded from the mouse measurements.
  3. Try slow straight lines, circles, and deliberate fast flicks. Review Path Distance in CSS pixels, current, average, and peak observed speeds in CSS px/s, sharp turns, and separate X/Y travel. Leaving the canvas starts a new stroke when you return, without a fake connecting jump.
  4. Switch Visualization between Movement Trail and Position Heatmap. The heatmap counts the relative density of recorded positions; it is not a calibrated sensor-accuracy measurement. The speed chart and recent-position table summarize your browser's reported samples.
  5. Use Pause / Resume to interrupt or continue with a separate stroke, Stop to finish while keeping the results, and Reset to clear readings. Switching away from the browser window automatically pauses the test.
  6. Select Export CSV for the latest 3,000 recorded positions or Save PNG to download the displayed trail/heatmap. Total metrics cover the full current session. All analysis takes place in your browser unless you choose to download a file.

How It Works

Each pointermove event provides your cursor's current coordinates and a timestamp. This tool connects each new position to the previous one with a line segment, drawn directly onto an HTML canvas, and adds that segment's length to a running distance total. Dividing segment length by the time between events gives an instantaneous speed reading. A direction change is counted whenever the angle of movement shifts by more than roughly 60 degrees between consecutive segments - a rough but genuine measure of how much your path curves and turns rather than moving in smooth, consistent arcs.

Understanding Your Results

  • Smooth, continuous trail with no gaps - your mouse is reporting position updates reliably at a healthy rate.
  • Visible gaps or jumps in the line during slow movement - can indicate a lower effective polling rate or sensor tracking dropout; the DPI / Polling Rate tool gives a more direct reading of this.
  • Jagged, zig-zagging trail during a deliberately smooth motion - worth testing on a different surface, since a poor mousing surface commonly causes small tracking errors that show up as visual noise in the path.
  • High direction-change count from a straight-line movement - a sign of hand tremor or sensor noise being picked up and drawn as small unintended turns.

Browser Limitations

This tool can only draw the positions your browser actually receives, at whatever rate the browser chooses to deliver pointermove events - which is capped by your display's refresh rate and can differ from your mouse's raw hardware polling rate. It's a useful visual diagnostic, but for an exact numeric polling-rate reading, use the dedicated DPI / Polling Rate tool instead.

Common Mistakes to Avoid

  • Moving the cursor outside the canvas and expecting tracking to continue - the trail pauses whenever your cursor leaves the canvas area.
  • Judging tracking quality from one quick pass - try both slow, deliberate movement and fast flicks, since some tracking issues only appear at certain speeds.
  • Not clearing the trail between tests - the canvas keeps drawing on top of previous paths unless you clear it, which can make individual sessions hard to read.

Frequently Asked Questions

Is the drawn path a real recording of my movement?

Yes. Every line segment corresponds directly to a recorded pointer position and timestamp - nothing on the canvas is generated or animated separately from your actual input.

What counts as a "direction change"?

A direction change is logged whenever the angle between two consecutive movement segments shifts by more than about 60 degrees, which flags sharp turns or sudden jitter in your path.

Does this measure my mouse's polling rate?

Not directly - it visualizes movement and calculates distance and speed from the events your browser receives. For an actual polling-rate number, use the DPI / Polling Rate tool.

Is my movement data stored or sent anywhere?

No. Everything is drawn and calculated locally in your browser for the current session and is cleared the moment you refresh, clear the trail, or leave the page.

Why does the trail stop when I move outside the box?

Pointer events are only captured within the canvas element itself, so movement outside its boundaries isn't recorded - move back inside to resume tracking.

Conclusion

Seeing your actual cursor path drawn out makes tracking issues much easier to spot than judging by feel alone. If you notice consistent gaps, jitter, or unexpected direction changes during smooth movement, follow up with the DPI / Polling Rate tool for a more precise diagnostic reading.