AI Game Gallery 00

Papertrails

An endless Three.js pop-up book built through an iterative AI agent workflow.

Papertrails is a browser-based 3D walking toy. A little paper traveler crosses an endless pop-up book as trees, houses, bridges, and rivers rise on hinged paper tiles ahead and fold flat again behind. The creator gave an AI agent a structured prompt covering references, design details, tools, workflow, and deliverables. The agent generated concepts with GPT Image, collected real pop-up book photos, and measured their colors, edges, and lighting to set numerical targets. AI-generated art was sliced from an atlas and applied to hinged cards. The world grew to include 15 biomes, weather, and day and night. Blind A/B reviews guided a repeated cycle of rendering, comparison, critique, and fixes.

Highlights

How it was made

Shikhar used a structured prompt to give the agent references, design details, tools, working rules, and deliverables. The agent began by generating four to six concept images with GPT Image via Codex CLI imagegen and collecting real photos of pop-up books and papercraft. It measured color, edges, and lighting to set numerical targets. One subagent took each component, and blind reviewers compared each build against the reference. The printed art was generated as a single atlas, then cut and applied to hinged cards. Style guides and GPT Image helped define 15 biomes and weather references. Shikhar chose one image as the style reference, and the agent generated reference targets for each biome and its animals. The agent then looped through rendering, comparing, critiquing, and fixing. The post credits Fable 5.2 and Opus 5.5 for the build, which runs in the browser with Three.js.

Published prompt

Build "Pop-up Atlas", a browser 3D walking toy, in Three.js.

Reference
none yet. First generate 4-6 concept frames with imagegen (tilt-shift papercraft diorama, tiny paper traveller, terrain folding up out of an open book, warm lantern light). Collect photos of real pop-up books and papercraft dioramas. These become the target. Match their look and tactile paper feel exactly.

Details
small paper traveller walks across an endless open pop-up book. Terrain ahead folds up out of the flat page: hinged paper tiles (hills, trees, houses, bridges, rivers) rise on springs, overshoot and settle with a slight wobble. Wave function collapse picks tiles so neighbours always connect. Tiles behind fold back flat. Look: matte cardstock, limited warm palette, visible paper edges and fibre, layered cut-paper silhouettes, soft shadows between layers, high-angle tilt-shift camera with strong DOF blur, warm key light + cool fill. Every fold gets a soft paper "flap" sound with varied pitch. Controls: WASD or click to walk, smooth camera follow. No physical-looking UI, no external brand assets.

Tools
Blender (tile models with hinge pivots, traveller, fold animations, baked paper materials → glTF). Codex CLI imagegen (concept frames, paper textures, printed details). Web Audio procedural paper sounds (or samples if better).

How to work
autonomous, no questions; log assumptions. Study reference → checklist of components with measurable targets. One sub-agent per component, each owns its files, project stays running. Loop on every component: separate harsh blind critic, A/B side by side vs reference in random order, says which is better + fixes. Continue until critics can't reliably pick the original and are wowed. Also judge fold motion/spring feel, walking feel, sound, performance (steady 60 fps mid-range laptop). Revert anything that makes it worse. Append-only log. User's explicit instructions override critics.

Deliver
playable Vite build + run instructions, 30-second gameplay capture, final side-by-sides and scores.

Tags · Characters · Environments · Props · Full game · 3D · Watercolor · Open-world sandbox · Claude / Claude Code · Codex / GPT · GPT Image · Three.js · Papercraft · Pop-Up Book · Procedural Generation · Blind A/B Testing · Biomes

Source code · Play demo · Original post

GALLERY