Cooking Finals — Iron-Chef-Style Championship (3D Broadcast)
Chefs, are you ready? ALLEZ CUISINE! Secret ingredient: DUNGENESS CRAB.
Built with:
HTMLJavaScriptthree.js
Prompt
An autonomous 3D Iron-Chef-style cooking championship broadcast. 4 chef stations in square arrangement (stove, burners, pots with steam, pans, ovens, prep counter, ingredient shelves), center pantry pedestal with mystery dome that lifts at reveal, 3-judge tasting table at front. 200 InstancedMesh audience cheer-bobbing. Overhead torus rig with 12 colored gel bulbs + 6 spotlights. 4 chefs (Marchand classical French, Tanaka Japanese kaiseki, Fierro Italian fusion, Okondo West-African contemporary) with apron colors and animated arms + knife (chopping/stirring/plating/celebrating). Steam Points + flame Points with random flambé spikes, color-reducing pot liquid, growing food on plate during plating. 6 directorial cameras auto-cycling every 4-7s. 2 PiP renderers (station cam + judge/plating cam). 9-phase state machine. 10-ingredient pool (Dungeness Crab, Wagyu Beef, Black Truffle, Sea Urchin, Rabbit, Oxtail, Lobster, Quail, Pomegranate, Foie Gras), each mapped to 4 dishes per chef. Trophy ceremony with spinning gold whisk + 400-particle confetti. Auto-restart forever.
Paste this into Claude, Cursor, or Copilot. Change one thing that matters to you.
What I learned shipping it
- Multiple WebGL renderers (3 in this case — main + 2 PiP) work in parallel as long as you remember to dispose them on `beforeunload`. The PiP cams render their own scenes against shared meshes.
- A 9-phase state machine (preshow → reveal → prep → cook → plate → time-end → judge → score → winner → reset) keeps the loop fresh because each phase has its own camera priority, banner, and chyron. Without state phases, the broadcast feels like one continuous bake.
- Color-reducing pot liquid (lerp from broth-tan to sauce-amber over 30s) is the cheapest cooking-show authenticity hack — the streamer can SEE the reduction without any actual food simulation.