BandSim: From Garage Band Dreamer to Sold-Out Arena
A Mixed Reality music studio and band sim where tactile performance turns into real songs.
Recruit your band, hone your skills, and climb the ranks from small gigs to packed arenas.
Inspiration
We wanted to tap into that universal fantasy of musical success and make it accessible to everyone.
Coming from a family of musicians (my dad a professional guitarist, brother an award-winning songwriter, and sister who teaches music by day and fronts a rock cover band by night), I was the computer nerd with zero musical talent. But not anymore!
By blending life-sim, rhythm-guitar, and band-manager classics with Mixed Reality, 25-joint bare-hand tracking, and AI production, we built a game that produces real musical results. What if your in-game performance could translate into an actual song you created?
A game where you don't only simulate a band. You step up to your real table, play bare-handed 3D instruments, lead a miniature band that makes eye contact with you, and creates real songs other players can listen to, vote on, and jam over. A live talent competition meets a living tabletop band sim in Mixed Reality.
For this build we created BandSim as an instant-load Meta Quest Mixed Reality & WebXR experience: start with a portable Pocket Console, flick to throw-to-deploy your living band stage onto your physical desk, play 3D drums, stage piano, electric/acoustic guitars, or DJ decks with your bare hands, write or sing your lyrics, and press a custom 12-inch record in under a minute!
What it does
BandSim is a music game where players build virtual bands on their real tabletop and create real, playable songs.
Simply by playing the game, players create real songs.
Your 20 cm in-game bandmates aren't static props. They make eye contact, react to your playing, and perform your finished records in a 3D cutaway concert stage with moving-head spotlights, gel stage smoke, cold-spark fountains, and a cheering 64-fan crowd. When you press a record, it lands on the in-game Charts and Jukebox where other players can listen, vote in Blind Face-Offs, or add their own Ghost Bandmate co-write takes.

Core features
Pocket Console, 3D instruments & music creator
- Pocket console & throw-to-deploy: Start with a holdable handheld console (tap chords, drums, and loops directly), grab either grip rail to aim a ballistic arc onto your desk, and flick forward to bloom open into the full 3D studio, or recall it back into your hands with continuous audio.
- Zero musical skill needed: Five-note scale lock and Beat Magnet assist (
Free,Guided,Autopilot) keep every riff in key and in pocket while preserving human strike velocity. - 3D instruments (54 cm seated reach):
- 4-deck loop turntables: Pinch and drop vinyl loop discs onto Beat, Hats, Bass, and Synth decks, plus ride 5-channel mix faders with a unity-gain snap.
- 37-key 10-finger stage piano: All 10 tracked fingertips play independently with velocity-from-speed, glissandos, and optional left-hand bass split.
- 8-piece 3D drum kit: Grab virtual drumsticks from the stick cup with continuous swept plane-crossing hit detection, animated kick beater & pedal, left-hand hi-hat pedal + chick, snare rimshots, ride bell pings, and grab-to-choke cymbals.
- Body-slung electric & acoustic guitars: Curl your left hand to sling the guitar onto an HMD-anchored strap (seated or standing), steer 7 lit fret zones, tilt the neck for wah & pitch-bend, shake for vibrato, slash pinch-free riffs or chord strums, and curl your picking hand to palm-mute.
- Guided lyrics & press: Spin curated lyric wheels or speak screened voice ideas across genres, then hit Press & Release to watch robot arms stamp a 12-inch Master LP in ~40–90 seconds.
Real Virtual Instruments:

Virtual band builder & concert showtime
- Character studio & squad recruit: Audition stylized 3D lip-syncing musicians on a mini-stage, flip 3D dossier cards, customize band names/crests/sleeves, and manage band chemistry.
- Reactive 20 cm bandmates & ragdoll chemistry: Bandmates look up to make 1.5 s eye contact (
+8% Hype), nod on beat, and shift their musical arrangement and binaural 3D HRTF mix when you pick them up and reposition them on stage. - Concert crowd hype gestures & encore solos: Throw 🤘 Rock Horns, 🙌 Arena Wave, ✊ Fist Pump, or ☝️ Sky Point synced to live song peaks for a 2.5× hype boost, crowd wristband/arm mirroring, cold sparks, and crowd roars, or tap 1-Tap Encore Solo mid-chorus to jump into Guitar, Drums, Keys, or Vocals over the stadium pit.

Charts, face-offs & live jamming
- Blind A/B face-offs: Crossfade between two anonymous contenders and crown a winner on the music alone.
- 4-seat live multiplayer jam rooms: Share a 6-letter code to jam together with quantized notes and 30 Hz pose sync.
- Persistent progression & sharing: Climb 6 Career Tour venues, complete Daily Missions, earn daily Studio Time streaks, overdub Weekly Seed Ghost Bandmate takes, export showtime clips, and share Pocket Vinyl Sleeve links that open straight into Meta Quest Browser. Remove the generative press or cut the network and the entire tabletop band still plays offline.
Auto generated cinematic music video:

How we built it
Technical architecture
- End-to-end riff, loop, and lyric → full song & showtime replay pipeline (~40–90 s queued generation with resilient fallback tracks)
- Bare-hand WebXR gesture engine (poke, hysteresis pinch, scale-invariant finger curl, swept-CCD drum sticks, 10-finger key tracking, lower-FoV wrist extrapolation, palm-up comfort menu, and 54 cm seated reach)
- 3D binaural HRTF spatial audio per bandmate + sample-accurate Web Audio scheduling
Development stack
- Client (
@bandsim/client): Installable WebXR PWA built with TypeScript, Meta Immersive Web SDK (@iwsdk/core: hand tracking, MRplane-detection, boundedXRAnchor,gazeTracking),UIKitMLspatial panels (PokeInteractable/RayInteractable), Three.js, custom Horizon OS-style 3-pass GLSL hand shaders, 49-bone arm retargeting, and Vite - 360° VR Worlds: 10 themed panoramic environments (37 panoramas across studio, lounge, garage, and concert scenes) for opt-in
immersive-vrmode - Backend (
@bandsim/api): Cloudflare Workers, Hono, Durable Objects (4-seat WebSocket Live Jam Rooms), D1 (SQLite), R2 (audio, 30 Hz ghost performance streams, covers, character assets), Cloudflare Workflows (generate-song,generate-video), and Workers AI (lyrics, album covers, fail-closed safety moderation)
Accessibility & safety
- High-contrast WCAG AAA outline palette, one-hand poke mode, WebXR eye/head gaze dwell (
0.85 s), live audio captions, and opt-in voice commands - Fail-closed content moderation on all typed and spoken lyric ideas and band names
Challenges we ran into
- Bare-hand WebXR feel without haptics: Making 3D drums, piano keys, body-slung guitar strumming, turntables, and faders feel crisp and chatter-free with zero controller rumble, solved with approach-velocity gates, millimeter hysteresis, stick/key rebound animations, and immediate acoustic confirmation.
- Lower-FoV hand continuity: Keeping fast guitar strums responsive even when the picking hand dips below Quest's downward camera frustum using 250 ms wrist-to-tip extrapolation.
- Mixed reality surface alignment: Snapping cleanly to real tables and walls via WebXR
plane-detection, 2-palm flat calibration, 3-corner tap calibration, and boundedXRAnchordrift correction inside a 54 cm seated reach, paired with a 2-posture folding desk. - Durable workflow orchestration: Building Cloudflare Workflows and idempotent background queues to handle concurrent song and video generation reliably while keeping the live tabletop engine 100% playable offline.
Accomplishments we're proud of
- Pocket-to-stage transform: Going from a holdable Pocket Console to a full 3D tabletop studio in one flick without dropping a beat.
- Play-to-record Mixed Reality pipeline: Turning bare-hand tabletop jamming directly into a pressed 12-inch record and 3D concert showtime.
- Living 20 cm band diorama: Bandmates that make eye contact, hype up to your playing, lip-sync, and shift the 3D spatial mix when rearranged like ragdolls.
- Zero-install WebXR access: An installable WebXR PWA that runs directly in Meta Quest Browser at https://app.bandsim.app.
What we learned
- Table scale makes MR honest: Anchoring 20 cm musicians and a folding desk to a real table turns passthrough from a backdrop into a physical play surface.
- Dynamics matter more than rigid quantization: Pulling timing gently toward the grid while keeping human strike velocity lets non-musicians sound tight and expressive.
- Audio confirms every touch: In bare-hand XR, immediate acoustic feedback on every poke, strum, and drum strike is essential.
What's next for BandSim
- Shared-room co-location: Co-located headsets sharing one physical table anchor for local tabletop jam sessions.
- Multitrack stem separation & live gigs: Separating pressed tracks into isolated bandmate stems for live remixing across seasonal Career Tour venues.
- Deeper bandmate AI & custom stage rigs: Richer autonomous bandmate personalities, custom lighting choreography, and unlockable tour gear.
Long-term vision
Build BandSim into a living, social multiplayer music universe where friends anywhere in the world, or sitting across the same real-world table in Mixed Reality, can form a band together, lock into a groove with their bare hands, and rise from bedroom jam sessions to sold-out arenas.
Built With
- cloudflare-d1
- cloudflare-durable-objects
- cloudflare-r2
- cloudflare-workers
- cloudflare-workers-ai
- cloudflare-workflows
- glsl
- hand-tracking
- havok
- hono
- immersive-web-sdk
- iwer
- iwsdk
- meta-quest
- mixed-reality
- pmndrs-uikit
- pwa
- spatial-audio
- three.js
- typescript
- web-audio-api
- webgl
- webxr
- world-labs-marble
