Skip to content
Eknoor Wadhwa
Back to portfolio

Deployed web demo · Computer vision and human-computer interaction

AirTouch

A gesture-controlled interface built around a simple question: what if you could move your computer’s cursor without touching a mouse or trackpad? AirTouch tracks a hand in the browser and can connect to a small Python companion running on the user’s own Mac.

See AirTouch in action

PROJECT DEMO / AIRTOUCH25 SEC · PRESS PLAY
Your browser does not support embedded video.
Open video directly ↗View full poster ↗
  1. 1Camerahand enters the frame
  2. 2TrackingMediaPipe reads landmarks
  3. 3Gestureindex move or pinch
  4. 4Mac pointerlocal companion relays input
How the browser-to-Mac interaction works
CASE STUDY / 01INTERACTIVE STUDY+

What I built

  • A React and TypeScript web interface using MediaPipe Tasks for real-time, browser-based hand tracking.
  • Index-finger movement mapped to normalized cursor coordinates, with smoothing to make pointer movement feel steadier.
  • Thumb-and-index pinch detection that presses and releases the Mac’s left mouse button, including click-and-drag when held.
  • A local Python WebSocket companion using pynput to control the pointer on the user’s own Mac.
  • One-time session tokens, exact website-origin validation, and button release when the browser disconnects.

Scope: The browser companion currently supports pointer movement and left-button pinch interaction. The native desktop AirTouch app has a broader gesture set. Each user runs their own companion locally; the hosted website does not connect to my Mac.

Built with

  • Python
  • React
  • TypeScript
  • MediaPipe
  • WebSockets
  • pynput
  • Computer Vision
Live demo GitHub repository Mac setup instructions
All projectsPortfolioResumind

© 2026 Eknoor Wadhwa · Waterloo, ON

GitHubLinkedInEmailPrivacy PolicyTerms & Conditions
Back to top