Star Empire — 450-Year Galactic Dynasty Saga (3D)
12 stars. 9 emperors. Civil war. Dark age. Renaissance. The Empire of Tharenius rises and falls.
Built with:
HTMLJavaScriptthree.js
Prompt
An autonomous 3D galactic empire saga across 450 years. 12-star sector with 12 colored stars (red giants, blue subgiants, yellow main-sequence, orange dwarfs, white dwarfs) as glowing PointLight spheres, each with 3-5 orbiting textured planets on dashed rings. Empire-controlled stars get a colored territory disc. Dashed jump-lanes between connected stars. 2400-star background field with 6 nebula sprites + fog. Capital homeworld at center: golden double-torus + 6 pylons. Camera dollies between stars. Saga engine: ~1 sec = 1 sim year, 450-year arc (~7.5 min real). Scheduled milestones at Y0 (unification), Y50 (first interstellar flight), Y100-200 (10 colonies established one-by-one), Y200 (peak empire), Y250 (border skirmish), Y265 (heresy), Y285 (assassination), Y300 (civil war + fleet battles), Y315 (dark age fog), Y345 (renaissance), Y350 (usurper victorious), Y400 (great collapse), Y450 (rebirth). 9 procedurally-named emperors with planet-of-origin, achievement, manner of death, dynasty, color — each with canvas-rendered face/beard/gold-crown/gem/robe/nameplate portrait and matching imperial flag (sun-rays, dynasty initial sigil). FX: ship sprites flying lanes (colony / trade / war), gold trade-particle traffic between controlled stars, cylinder lasers + additive explosion sprites during civil war, schism red pulse, dark-age fog density boost, assassination flash, glow-boost on tech leaps. 6 director cameras (SECTOR-WIDE / HOMEWORLD / BATTLE / COURT / COLONY / EXPLORATION). Anchor PIP (Anchor Voss + Lady Akilea alternating, blink + lip-sync). Broadcast UI: GALACTIC HERALD logo + LIVE, year ticker, empire HUD (stars/pop/fleet/prestige/era), emperor portrait panel left, imperial flag panel right, lower-thirds (NEW EMPEROR / COLONY ESTABLISHED / CIVIL WAR / COLLAPSE WARNING), chyron + host quotes, minimap, scrolling Imperial Gazette ticker. 12s ceremony at Year 450, full reseed (new RNG, new sector layout, new emperor lineage, year 0). Forever.
Paste this into Claude, Cursor, or Copilot. Change one thing that matters to you.
What I learned shipping it
- Each procedurally-named emperor having a *manner of death* attribute (assassinated by steward / poisoned cup / fell at the Battle of Mardax / peacefully in old age) is what makes a 450-year saga feel like reading a HISTORY BOOK rather than watching a sim — viewers track the dynasty as a story of mortals.
- Dark-age fog density boost (a 30s `scene.fog.density` ramp followed by a slow ramp-down) is the cheapest 'civilization stagnation' visual — it costs no geometry, just a uniform, but viewers instantly read the empire as struggling.
- Scheduled milestones (Y50, Y100, Y200…) wrapped in random event sprinkles (assassinations, plagues, heresies) create the perfect saga pacing — the BIG beats are predictable so the empire arc satisfies, but the WHO and HOW are fresh every loop.