Developer xikhar open-sources Agent skill papercraft: lets coding assistants generate pop-up book-style 3D scenes with three.js code
Developer xikhar (@xikhar) has released the open-source Agent skill papercraft, which supports coding assistants such as Claude Code, Codex, and Cursor in generating pop-up book-style 3D scenes in the browser using only three.js, Canvas, SVG, or CSS code, without requiring 3D modeling software or image generation models.
An open-source Agent skill enables coding assistants to generate pop-up book-style 3D scenes using only three.js/SVG code, without 3D software or image models, with visual rules numerically encoding the paper texture.
No, seriously, this is wild...
An overseas developer, Shikhar (@xikhar), has a skill going viral that lets you build pop-up-book-style papercraft 3D entirely inside the browser 😳
The “paper railway” in the video was made by him with Opus 5.5 × three.js.
x.com/xikhar/status/212647016…
What is used is
ーーー papercraft!!
This is an Agent Skill that lets you create games, 3D scenes, web pages, and even animations in the look of a pop-up book made by cutting, folding, and layering paper.
In other words 👇
You can make it without an image-generation AI. What gets drawn is code in three.js, Canvas, SVG, or CSS.
Rather than making a model in 3D software, you assemble it as a scene that runs in the browser.
You can ask for it with something like “Make my bakery’s landing page look like a pop-up book” (example from the README).
Even so,
It still looks properly like “paper” because the visual rules are written numerically in SKILL.md ✨
Paper has thickness (1.5–3% of the main subject’s height). The surface is matte and not shiny.
The main light is a single light from the side. Don’t make shadows gray or black: in daytime use warm amber, on snow use a bluish color tinged with light purple, and at night use navy.
・The camera is slightly telephoto, looking down from 40-55 degrees above. Do not show the horizon or the sky.
・The paper rotates around the fold axis to stand up. Do not change its size or fade it in.
The procedure includes measuring and reviewing the finish once created (up to 3 rounds), as well as exporting still images and MP4. Exporting requires Python and Playwright, and video requires ffmpeg as well.
The premise that "an intricate 3D look = relying on dedicated software or image generation" is starting to change considerably.
MIT License. For AIs that can use Agent Skills, such as Claude Code, Codex, Cursor, etc., the installation method is this one line.
npx skills add xikhar/papercraft
When you want to avoid an AI-like look, the trick is to write down the rules in numbers like this.
If you want to incorporate this into your own UI Skill, reading the article below will deepen your understanding instantly. Seriously recommended👇😻
View quoted post on X
Source: Skills Studio · x.com
