sloemo01/diorama
Playbook and Three.js code kit for detailed dioramas: classic pixel art, stroked toon or pixel + stroke; two intake gates for look and model sourcing; free orbit, palette snap and ink; animated toy-scale cast; per-entity frame QA.
What it solves
Diorama tackles the chaos of building detailed 3D dioramas: without a structured playbook, scenes end up inconsistent, hard to reproduce, and often miss the intended visual style. It forces two upfront decisions (which visual look and whether models come from libraries or your own geometry), locks in a deterministic pipeline where every frame is a pure function of time, and provides QA scripts so you can prove a build is correct—not just hope it is.
How it works
The package is a skill definition (SKILL.md) plus reusable templates and QA tools. Before modeling, the agent runs research: video references, asset sourcing with license checks, and motion grammar extraction. Then it fills a design sheet, copies needed modules, blocks out the scene in grey, and works through the pipeline: palette, materials, detail, animation, effects, and post. Everything is deterministic: the entire scene is a pure function of time t, so any frame like t=12.4 always renders identically. The QA scripts drive a headless browser to check for errors, layout issues, frozen frames, and more, producing evidence screenshots.
Who it’s for
AI agents or developers who want to build high-quality, reproducible 3D dioramas without reinventing the workflow each time. It is designed to be installed and used by a coding agent as a skill, but also works for humans who want a structured pipeline for Three.js scenes.
Highlights
- Deterministic scenes: every frame is a pure function of time, enabling verification and perfect replays.
- Two upfront questions define the visual style (pixel, stroked toon, or both) and asset sourcing strategy (licensed model libraries vs. hand-built).
- Research-first workflow: shape, assets, and motion are studied from real references before geometry is touched.
- Built-in QA scripts (eight) that check for errors, layout, animation, collisions, and more, producing evidence screenshots.
Related
- Project
- Project
- Project
- Project
- Project