Three.js pixel art diorama scenes and QA workflows
Build pixel art diorama scenes in Three.js featuring locked orthographic cameras, color palette snapping, ordered dithering, and ink outlines using the Diorama playbook and code suite. Ensure visual fidelity and verifiable screenshots and animations through deterministic pure-function scene design and per-entity frame QA.
GitHubsloemo01225GitHub stars
Three.jsesbuildplaywright-coregitcurl
Added 2026-11-01 · originally published 2026-10-30
Key points
- Adopt a research-first build workflow: fill out the DESIGN.md design sheet and SOURCES.md research log before modeling.
- Maintain the visual contract: use a locked three-quarter perspective camera, flat silhouettes on a white background, a 64-color palette, ordered dithering, and ink outlines.
- Ensure total scene determinism: the scene must be a pure function of time t so that any frame can be frozen, screenshotted, and compared.
- Execute per-entity frame QA: use QA scripts and tools in the verify/ directory to validate the build output and ensure screenshots serve as definitive proof.
- Copy modules as needed: copy required modules from templates/ into your project instead of editing installed copies directly.
.cursorrules
- Follow the research-first build workflow, completing research and design sheets prior to modeling. - Keep scenes deterministic as pure functions of time t to facilitate frame freezing and QA screenshot comparison. - Use fixed specifications: a locked three-quarter camera, 64-color palette, ordered dithering, and ink outlines. - Assemble components using modules from templates/ rather than writing non-compliant code from scratch.
Copy-ready prompt
Please build a pixel art diorama scene for me following the Diorama playbook specifications. Use Three.js and implement a locked three-quarter camera, 64-color palette snapping, ordered dithering, and ink outlines. The scene must be a pure function of time t to ensure determinism. First research and fill out DESIGN.md, then build the scene through a deterministic animation pipeline, and finally run the QA scripts for validation. The theme is: [Enter scene theme here, e.g.: pool / night market / bank job / arena battle].
#Three.js#Pixel Art#AI Frontend#Animation QA
Related techniques
Summarized by AI from the original source - refer to the original post for details. Copyright belongs to the original author.