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
HandMouse
open source · on publik
Prices are for one typical use: one request of about 1,500 words sent and 375 words back. A higher quality score is better.
| Model | Quality | Per 1,000 uses |
|---|---|---|
| On your computer (Ollama, 4-bit download size) | ||
| Granite 4.2 3B2.2 GB | 9 | $0 |
| Phi-4 Mini2.5 GB | 6 | $0 |
| Llama 3.1 8B4.9 GB | 7 | $0 |
| gpt-oss 20B14 GB | 9 | $0 |
| Gemma 4 31B20 GB | 19* | $0 |
| Qwen3.5 35B-A3B24 GB | 19* | $0 |
| publik API | ||
| publik-fastGLM-5.3 Flash | 42 | $1.00 |
| publik-balancedMiMo-V2.6-Pro · HandMouse | 46 | $10.00 |
| publik-smartGPT-6 Sol | 48 | $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.
Every step written out. No terminal experience needed. Pick your setup.
Use your laptop webcam to track your hands and use them as an input device. Two parts:
launch_sim.py): a 3D physics playground in the browser (three.js + cannon-es + MediaPipe) that you control with your hands.handmouse.py): drives the real macOS cursor, clicks, scroll and pinch-zoom from your hand.Hand tracking is MediaPipe Hand Landmarker. Everything runs locally.
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).
| Gesture | Action |
|---|---|
| Move hand | Cursor follows your index finger; hand toward the webcam pushes it deeper |
| Pinch (thumb + index) near an object | Grab it; release to throw |
| Pinch on empty space, drag | Orbit camera |
| Pinch with both hands, spread / squeeze | Zoom (moving both orbits) |
Buttons: + Cube, + Ball, Reset, Flip X (if left/right feels mirrored).
.venv/bin/python handmouse.py
Grant Camera, Accessibility and Input Monitoring to the app running Python (Terminal, iTerm, ...).
| Gesture | Action |
|---|---|
| Index fingertip | Move cursor (inside the blue box) |
| Quick pinch | Left click |
| Quick double pinch | Right click |
| Pinch and hold, then move | Drag |
| Peace sign (index + middle up) | Scroll, with momentum |
| Pinch with both hands, spread / squeeze | Zoom |
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.
g to use ctrl+scroll or cmd +/-.handmouse.py (uses Quartz). The sandbox runs in any modern browser with a webcam.