Papercraft

An agent skill that makes AI build pop-up papercraft games and scenes in three.js.
Papercraft is an open-source agent skill that teaches AI agents to build games, interactive scenes, web pages, animations and videos in one handcrafted pop-up paper style: matte cardstock, thin cut edges, layered prints, world-tinted soft shadows and a tilt-shift macro lens. It ships three.js and Canvas 2D templates, a library of paper structures, procedural paper sounds and music, and scripts that render stills and MP4s. The author's "paper rails" demo was made with Opus 5.5 and three.js and shows a toy train on tracks laid across a paper ground. Worth studying for how it packages style rules, hard-won numbers and a measure-and-critique loop into a reusable skill.
Highlights
- Packages an art style as an installable agent skill
- Ships both three.js and 2D Canvas templates
- Built-in paper material, hinges, soft shadows and tilt-shift lens
- Procedural paper foley and felt-piano music
- capture.py renders stills and MP4s at many aspect ratios
How it was made
The author distilled lessons from a shipped three.js pop-up game into an agent skill (SKILL.md, references, reusable code library, templates and scripts). The "paper rails" demo was generated by Opus 5.5 using the skill with three.js. The bundled capture.py renders headless frames and reports build time and page errors, supporting a measure-and-critique loop. No time spent is stated. Developer resources: Papercraft skill https://github.com/xikhar/papercraft/blob/main/skills/papercraft/SKILL.md . MIT license https://github.com/xikhar/papercraft/blob/main/LICENSE . The skill supports Three.js and Canvas/SVG/CSS workflows.
Tags · Environments · Props · Full game · 2.5D · 3D · Watercolor · Management sim · Claude / Claude Code · Three.js · Native Canvas/WebGL · papercraft · pop-up book · agent skill · tilt-shift