Experiments in generative scenes that run forever and never repeat. Each scene is a small set of rules fed by one random generator, seeded from the clock. Nothing is a stored clip and nothing loops: events are generated as they happen, so no two runs play the same way.
- Pixel City: A pixel-art night city from a rooftop: traffic, a metro, a cat, pigeons, weather and flickering neon
- Half Court: One-on-one isometric streetball under the floodlights, with real ball physics
- Rain Window: Slow rain on a window in front of an out-of-focus city
- Shoreline: A moonlit beach, waves running up the sand and Night City glowing across the bay
- Bus Stop: A late-night bus stop painted like an anime film
Any scene can run as the live background of another site with one line:
<script src="https://anistark.github.io/nightcity/embed.js" data-scene="pixel-city" async></script>
The scenes use no libraries, only plain JavaScript and Canvas 2D.