For judges (five minutes, seated at a desk): open coconuts-foley.vercel.app in the Quest browser and press Enter in your headset (say yes to the microphone if you want to speak a pitch). Tap the clapper. Knock on the little door, clop the coconuts, wake the thief with any prop. About two minutes in, your crash of glass sends the thief out of the picture onto the table in front of you: bring a finger near him, then play the slide whistle. At What happens next? sound a prop, or hold the megaphone, say anything and let go: Claude writes reel two in five to seven seconds. If someone played before you on this headset, press Start from reel one on the page.
Inspiration
Silent films were never silent. In the cinemas of the 1910s and 20s someone stood behind the screen with coconut shells for hooves, a sheet of tin for thunder and a slide whistle for every fall. Mixed reality puts a stage in your room and sees your bare hands, so we asked: what if you were that person, and the film would not go on without you?
What it does
A toy theatre stands in your room with six foley props in front of it: coconut shells, a little door, a desk bell, a thunder sheet, a slide whistle and a bag of glass. There is one rule: nothing on stage happens until you make its sound. The knight waits at the castle gate for your knock. His horse runs as fast as you clop. A sleeping thief wakes differently for each prop. Your thunder bursts the theatre to the size of a wall, and your bell rings every blow of the duel.
Then the film leaves its frame. Your crash of glass breaks the picture, the house lights come up, and the thief jumps out onto the table in front of you. Bring a finger near him and he startles. Your slide whistle sends him over the edge.
After every reel a card asks What happens next? Sound a prop, or hold the megaphone and say anything. An AI Director (Claude) writes the next reel from your words and from what your sounds did ("He left crumbs on your table, still hungry") while the thief climbs back into the picture. When it cannot stage what you asked for, it says so on a card: "No dragons in our company tonight. A wolf answered the advert." The serial never ends, and your next visit starts with "Previously…".
How we built it
- Meta's Immersive Web SDK (WebXR, three.js), so it runs in the Quest browser with nothing to install. Seated and hands only: pat a prop, pinch it from afar along the hand's ray, or pick it up and play it. On Meta VR Glasses, look at a prop and pinch.
- The stage: seven 3D sets, nine characters and six beasts from CC0 kits, one shader for the faded silent-film look, weather in four draw calls, recorded CC0 foley, a small recorded audience and a ragtime pianist.
- The Director never touches the stage. Claude (claude-opus-5-5 in fast mode, schema-constrained output) writes a plan from about a dozen hand-staged scenes. The plan is checked on the server and again in the browser, and a hand-written reel plays if the model is slow or wrong. Spoken pitches go to Gemini and AssemblyAI at once, and the first words back win.
- Hosted on Vercel, with 200 unit tests.
Challenges we ran into
We had no headset, so everything was built and tested in Meta's desktop emulator, which draws two or three frames a second. We tested and filmed in slow time: every drawn frame is a thirtieth of a second of the show, with a scripted hand patting the props. That slow time exposed a bug in the SDK's ray cursor (its smoothing ran away on long frames and the cursor grew across the view), which we fixed. The emulator has no microphone either, so the spoken pitch in the video is a synthesised voice line handed to the game; its words still go through the real speech-to-text and the real Director. And a language model's answer had to be playable every single time: that took a plan schema small enough to compile, two layers of checks and a fallback reel for every pitch.
Accomplishments that we're proud of
A story that waits for your hands; a villain who escapes the picture onto the table in front of you and notices your finger; an AI Director that keeps the serial going for ever and owns up to what its company cannot stage. Take the model away and there is still a theatre, eight reels and a foley table.
What we learned
Limits make a better AI collaborator. Giving the model a fixed company of actors and scenes, rather than free rein, made every reel playable and gave the Director its own voice ("our company tonight"). And hands are not mice: a tap is a stroke followed down and back up, not a point entering a box.
What's next
Anchor the theatre to the real desk and the wall burst to the real wall with scene understanding; more sets and scenes for the Director; a reel a day with a weekly cliffhanger; two players, one on sound and one on music; a Director that speaks its notes aloud.
Built With
- and
- and-the-second-director)
- assemblyai-(raced-in-when-hearing-is-slow)
- blender-and-gltf-transform-(asset-bake)
- cc0
- claude-(the-director's-reel-plans)
- elics-ecs)
- gemini-(spoken-pitches
- immersive-web-sdk-(webxr
- kaykit-and-quaternius-cc0-kits
- public-domain
- recordings.
- three.js
- typescript
- vercel-(static-site-and-functions)
- vite
- web-audio
