Medieval Feast Day — a kingdom from dawn to night across castle, market, tavern, and tournament
A 3D mega-world: 7 sub-locations (castle, great hall, chapel, barracks, tournament arena, market, tavern), 6 acts from dawn mass to night whispers, 110+ characters with a real royal family tree, full joust simulation, and a parchment minimap.
Built with:
three.js r0.160 (single file)Procedural textures: parchment, stone, wood, cobble, banners, stained glassInstancedMesh peasant crowd + named cast
Prompt
Build a single-file HTML page that recreates "a feast day in a medieval kingdom" as a continuous 3D autoplay world I could put on Twitch and have viewers stay for hours.
Hard constraints:
- One HTML file, < 200KB.
- three.js r0.160.0 from unpkg, IIFE, strict mode, full disposable cleanup, reseed every ~10 min with a grand "AND THUS ENDED THE FEAST OF SAINT GAVRIL" overlay and new house banners.
- First body line: <!-- ROUND15_MEGA v1 -->
- 7 spatial sub-locations in one three.js scene: Castle, Great Hall, Chapel, Barracks, Tournament Arena, Market, Tavern.
- Mini-map in HUD showing all 7 locations + active hotspot. Use a parchment-style texture.
- 110+ named characters: 20 named cast minimum (King, Queen, Prince, Princess, at least 2 knights, priest, jester, bard, brewer, steward, captain of the guard, peasants with names, "The Stranger") + 86 InstancedMesh background peasants + 2 jousting knights with horses + animals + training dummies.
- 6-act sim-day arc: DAWN → MORNING MASS → NOON FEAST → AFTERNOON TOURNAMENT → EVENING REVELRY → NIGHT WHISPERS, with sun arc and fog/sky shifting per act.
- Full joust simulation: galloping legs, lance shatter into 3 fragments with falling physics, unhorsing.
- 25 director cameras with phase-weighted cuts every 4-8s (mass cameras dominate during morning, tournament cams during afternoon, etc).
- HUD: chyron, cam label, act card, dawn flash, herald ticker, royal family tree panel, cast lower-third, sun widget, parchment minimap with location pins.
- Atmospheric flourishes: flickering hall PointLights + candelabra, tavern fire, stained-glass colored point light, jester acrobatics, bard strumming, conspiracy whisper at night.
Make it feel like a Ken Follett novel and a cozy fantasy stream had a child. The kind of stream that runs all night.
Paste this into Claude, Cursor, or Copilot. Change one thing that matters to you.
What I learned shipping it
- How to compose a believable medieval kingdom from primitives + procedural textures (parchment, stone, banners with emoji sigils, stained glass)
- How to weight director-camera cuts to whichever act is currently running, so the cinematography itself tells the story of the day
- How to script a 6-act day that resolves into a satisfying 'thus ended the feast' beat at the end of every reseed cycle