Inspiration
Sound Garden began with a simple idea: make creating music feel like tending a small garden. I wanted a calm, seated experience where a few natural interactions produce an immediate musical and visual response.
What it does
Players discover four flowers representing ambient tones, chimes, bass and rhythm. Playing a flower unfolds its petals and releases glowing particles. Discovering all four unlocks a short garden harmony.
One-shot mode plays a single sound per interaction, while Loop mode combines repeating musical layers. Moving a flower vertically shapes its intensity and pitch.
The project includes an immersive WebXR mode with hand-pinch interactions and floating controls. An optional desktop mode uses local webcam hand recognition, alongside mouse and touch controls.
How I built it
I developed the experience using JavaScript, Three.js, native WebXR and the Web Audio API, with AI-assisted coding and iteration. The geometry and musical sounds are generated in code. MediaPipe detects hand landmarks locally for desktop webcam interaction. The application is hosted on Vercel.
Challenges
The main challenges were balancing the four sounds, preventing a held pinch from repeatedly triggering notes, and aligning the hand cursor with a mirrored webcam image. Supporting desktop and immersive interaction required separate input paths sharing the same musical state.
Accomplishments
The prototype combines sound synthesis, responsive flowers, discovery progression and optional local webcam interaction in a browser-based experience.
Testing and next steps
Desktop functionality has been tested, and a flower interaction has been confirmed using simulated hands in Meta's Immersive Web Emulator. Physical Quest testing remains pending.
Next steps are full Quest 3/3S testing, improved hand-interaction feedback, accessibility options and further musical refinement.
