Air Theremin: Designing a Gesture-Based Musical Interface

Exploring learnability and spatial interaction in camera-based instruments

Project Snapshot

  • Type: Interactive Web Experiment

  • Focus: Gesture-based interaction · Learnability · Spatial UX

  • Tools: Webcam hand tracking, Web Audio API, AI-assisted prototyping (ChatGPT, Lovable)

  • Key Contribution: Transformed an invisible, hard-to-learn interaction into a visual, guided experience

  • Outcome: A working gesture-controlled instrument with real-time feedback and improved usability

Background

While browsing online, I came across the Theremin - an electronic instrument invented in 1920 that can be played without physical contact. The idea of controlling sound purely through hand movement immediately stood out to me.

Without access to a physical Theremin, I became curious:

Can this invisible interaction be translated into a digital, accessible experience?

This led me to explore building a web-based Theremin using hand tracking, turning a physical instrument into a camera-driven spatial interface.

Problem Framing

After research, I noticed that existing virtual Theremin tools already exist, but they often feel like:

  • technical demos rather than usable instruments

  • difficult for first-time users to understand

  • lacking clear feedback or learning support

As a beginner, I personally struggled to:

  • understand where interaction happens in space

  • control pitch precisely

  • explore different sound possibilities

Goals

Design a digital Theremin that is:

  • Easy to understand

  • Visually guided

  • Expressive to play

Process

I started by validating the idea and reviewing existing browser-based Theremin tools. Most worked technically, but lacked clarity and guidance for first-time users.

Using ChatGPT and Lovable, I quickly built a working prototype with:

  • hand tracking via webcam

  • real-time sound generation

From there, I focused on improving the interaction experience.

A key design decision was to:

  • visualize the instrument itself

I introduced a glowing, outlined Theremin interface:

  • vertical line → pitch control

  • circular loop → volume control

This creates a spatial reference, helping users understand where and how to move.

I iterated on:

  • visual feedback (glow, hand tracking points)

  • pitch display and sound response

  • overall interface clarity in a dark, minimal environment

Result

The result is a browser-based interactive Theremin that:

  • allows users to control sound through hand movement

  • provides visual guidance for better learnability

  • transforms an abstract interaction into a more intuitive experience

Explore the interactive version here: Lovable Prototype

Prompt & Iterations