Skip to content
publik.
Browse appsBrowsePricing
+Publish a repoPublish
Browse appsHow it worksPublish a repoGet helpPricingDevelopersGitHubPrivacy
© 2026 Publik
← All apps

HandMouse

Control your Mac cursor and a 3D physics sandbox with webcam hand gestures.

AI runs on your computer

✓publik verified: the founder reviewed this exact version for malware and approved it

by @phanxne

H

HandMouse

open source · on publik

On your phone?

You install HandMouse from a computer. Send yourself the link and open it there.

Vote on HandMouse
0
Read the install guide→Open in GitHub↗

Compared with

L

Leap Motion Controller

Paid

Make this yours→Fork HandMouse, change it, publish your version. About 30 minutes. No experience needed.

Having trouble? Tell us

Where HandMouse’s AI runs, and what it costs

Prices are for one typical use: one request of about 1,500 words sent and 375 words back. A higher quality score is better.

On your computer

Price
Free per use. Your computer does the work.
Memory
—
Quality
—

publik API

Price
$0.0100 per use, $10.00 per 1,000 usespublik-balanced, the default level
Quality
MiMo-V2.6-Pro: 46
Setup
Not built into HandMouse yet. A publik API key works wherever HandMouse takes an OpenAI-compatible address.

Your own key

Price
$0.0013 per use, $1.31 per 1,000 usesMiMo-V2.6-Pro at OpenRouter’s list price, before its fee for buying usage
Quality
MiMo-V2.6-Pro: 46
Setup
Open a provider account, add a card, paste the key into HandMouse.

Quality and price, side by side

Quality score and cost per 1,000 typical uses for local models and the three publik API levels
ModelQualityPer 1,000 uses
On your computer (Ollama, 4-bit download size)
Granite 4.2 3B2.2 GB9$0
Phi-4 Mini2.5 GB6$0
Llama 3.1 8B4.9 GB7$0
gpt-oss 20B14 GB9$0
Gemma 4 31B20 GB19*$0
Qwen3.5 35B-A3B24 GB19*$0
publik API
publik-fastGLM-5.3 Flash42$1.00
publik-balancedMiMo-V2.6-Pro · HandMouse46$10.00
publik-smartGPT-6 Sol48$18.00

Quality: Artificial Analysis Intelligence Index v4.3.2, read 2026-09-22 (publik API models 2026-09-25); * = estimated by Artificial Analysis. Sizes: the Ollama library, read 2026-09-22.

What you pay for

  • On your computer: nothing per use. You pay in disk space, memory and electricity, at lower quality.
  • publik API: publik’s published price for each use, in dollars, from your publik balance. It is above the model’s cost; the difference runs publik and pays the app’s builder.
  • Your own key: the provider’s price, billed to an account you keep with the provider.
See plans and prices →How publik API pricing works →

How to install HandMouse

Every step written out. No terminal experience needed. Pick your setup.

  • How to install HandMouse on Mac →
  • Can you install HandMouse on Windows? →

README

Open in GitHub ↗

HandMouse

Use your laptop webcam to track your hands and use them as an input device. Two parts:

  • Hand Sandbox (launch_sim.py): a 3D physics playground in the browser (three.js + cannon-es + MediaPipe) that you control with your hands.
  • handmouse (handmouse.py): drives the real macOS cursor, clicks, scroll and pinch-zoom from your hand.

Hand tracking is MediaPipe Hand Landmarker. Everything runs locally.

Hand Sandbox

python3 launch_sim.py

Opens http://localhost:8765/; click Start camera and allow access. Needs internet on first load (MediaPipe WASM and three.js come from a CDN).

GestureAction
Move handCursor follows your index finger; hand toward the webcam pushes it deeper
Pinch (thumb + index) near an objectGrab it; release to throw
Pinch on empty space, dragOrbit camera
Pinch with both hands, spread / squeezeZoom (moving both orbits)

Buttons: + Cube, + Ball, Reset, Flip X (if left/right feels mirrored).

handmouse (system mouse)

.venv/bin/python handmouse.py

Grant Camera, Accessibility and Input Monitoring to the app running Python (Terminal, iTerm, ...).

GestureAction
Index fingertipMove cursor (inside the blue box)
Quick pinchLeft click
Quick double pinchRight click
Pinch and hold, then moveDrag
Peace sign (index + middle up)Scroll, with momentum
Pinch with both hands, spread / squeezeZoom

Preview keys: q quit, p pause, i invert scroll, z invert zoom, g cycle zoom mode (magnify / ctrl+scroll / cmd +-). Tune sensitivity, smoothing and click timing in the constants at the top of handmouse.py.

Notes

  • Two-hand system zoom sends synthetic trackpad pinch events; if an app ignores them, press g to use ctrl+scroll or cmd +/-.
  • Released under the MIT license. macOS only for handmouse.py (uses Quartz). The sandbox runs in any modern browser with a webcam.