Skip to content

Run Diorama: a living city with sound - #19

Merged
davidfromkansas merged 9 commits into
mainfrom
prototype/run-diorama-alive
Dec 1, 2026
Merged

davidfromkansas merged 9 commits into
mainfrom
prototype/run-diorama-alive

Conversation

@davidfromkansas

@davidfromkansas davidfromkansas commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Requested by David · project thread

Makes every diorama feel alive, SimCity style. Everything is placed automatically from the map data, so every city gets it.

Tiny moving life (life.ts)

  • Boats (motorboats, sailboats, ferries on wide water) that steer around land, bob and leave wakes
  • Trains on the rail lines, riding bridge decks, turning back at the end of the line
  • People walking paths and sidewalks (most go home at night)
  • Bird flocks circling (gulls over water), roosting at night
  • Factory chimneys puffing steam that leans with the run's wind
  • An airliner crossing every 45 s and a hot-air balloon on calm days
  • Car headlights and tail lights after dark

Blender-made models (landmarks-src/props.py → public/run-diorama/props.glb)

  • 21 playful game-style models: 8 vehicles (sedan, hatchback, SUV, taxi, pickup, van, bus, box truck), 5 boats (speedboat, sailboat, yacht, tug, ferry), train cab and carriage, person, gull, airliner, hot-air balloon, factory chimney
  • Painted parts take each instance's colour; lamps and windows glow after dark

Nature in motion

  • Trees sway in rolling gusts, strength and direction from the run-hour wind (clouds and water already moved)

Ambient sound (ambience.ts, synthesised live, no audio files)

  • City hum, traffic, surf, wind, rain, songbirds, gulls, night crickets, plus occasional car horns, trains and ship horns, mixed from what's in the square
  • Mute button under the top-right controls; remembered per browser; starts with the first tap; silent when scrolled away or the tab is hidden

All movement costs about 0.15 ms per frame; phones get fewer boats, people and birds. Paused under reduced motion.

https://claude.ai/code/session_015thBKCWQrq5pnH6A5AG4iR


Generated by Claude Code

…sky traffic, swaying trees and ambient sound

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015thBKCWQrq5pnH6A5AG4iR
@davidfromkansas davidfromkansas self-assigned this Dec 1, 2026
@vercel

vercel Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
playground-davidfromkansas Ready Ready Preview Dec 1, 2026 6:25pm UTC

Request Review

…people, birds and sky

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015thBKCWQrq5pnH6A5AG4iR
…clay with a soft ground shadow, outline kept

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015thBKCWQrq5pnH6A5AG4iR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015thBKCWQrq5pnH6A5AG4iR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015thBKCWQrq5pnH6A5AG4iR
…es the top of the wall

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015thBKCWQrq5pnH6A5AG4iR
…hows through buildings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015thBKCWQrq5pnH6A5AG4iR
@davidfromkansas
davidfromkansas merged commit b5ec0c8 into main Dec 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants