dither-diorama

Installation
SKILL.md

Dither diorama

One engine (assets/engine.js, three.js from a CDN importmap, no build step) turns a config into the whole piece: the room shell, the crowd simulation, the three-pass dither render, the step UI and the city. You write build(k) with box calls, then list staff, a visitor route and steps. You don't write shaders, pathfinding or scroll code. The full contract is in references/config.md, so read it before writing a config.

  • template/index.html — a counter-service restaurant. Guests queue at 2 registers, a runner brings trays, guests sit and eat, and a clerk counts stock in the back room. Its steps are Floor / Staff / Stock / City. Preview: assets/restaurant-steps.png.
  • examples/laundromat.html — "Spin Cycle", a 24-hour laundromat at 2:47 a.m. People arrive with baskets and load washers, which spin up when loaded. They read on the bench, then fold. An attendant mops, a black cat walks the dryer tops, and a neon "24" glows in coral. Preview: assets/laundromat.png. It shows custom items, k.tick machines that react to people, chance stations and a non-crowd highlight group (the cat).
  • examples/pit-stop.html — "Box, box", a Formula 1 pit stop out in the open (room.open: no walls, you draw the ground). The car brakes into its box, 17 scripted crew run out, jacks go in, wheel guns fire, tyres swap between hub and hands, and the lollipop flips. The car launches and the crew walk back carrying the old set. A live clock counts the stop. Steps highlight the wheel crews, then the jacks and release, then play a quarter-speed replay (speed: .25), then the pit wall. Preview: assets/pit-stop.png (frozen at 3.6 / 5.0 / 5.5 / 6.75 s). It shows choreography with kit.person + k.tick, a kit.display readout, custom stats, and ?t=.

How the look is built

Keep all of these; each one is part of why it reads as "that" style and not just a dithered 3D scene.

Installs
3
GitHub Stars
8
First Seen
Nov 11, 2026