talira

papercraft

Agent skill to build games, interactive scenes, web pages and animations in a pop-up papercraft style

open sourceMITfree

papercraft is an open source agent skill that teaches a coding agent to build games, interactive three.js or Canvas 2D scenes, web pages, animations and videos in a handcrafted pop-up papercraft style: printed cardstock pieces with thin cut edges that fold up on hinges, soft tinted shadows, a tilt-shift macro lens, calm hinge motion and procedural paper sounds. It carries the method and numbers from a shipped three.js pop-up game, a set of extendable structure types (slotted crosses, folded boxes and prisms, domes, decks, bridges and stairs), JavaScript libraries for paper, hinges, motion, sound and weather, 3D and 2D templates, a gallery of five worlds, and scripts that render stills and MP4 clips at Reel, square or 4K sizes with Playwright and critique the look. It installs with npx skills for any agent that supports Agent Skills, such as Claude Code, Codex, Cursor and Gemini CLI.

Problems it solves

  • make my landing page look like a pop-up storybook made of folded paper
  • have my coding agent build a three.js diorama that folds up out of the ground like a paper model
  • render a short vertical Reel of a paper town animation to MP4 from code
  • my AI-generated 3D scenes look generic and I want a consistent handcrafted paper look
  • build a small walkable game world in a cardstock pop-up style
  • turn a moodboard of photos into a papercraft scene without an image generator

Features

  • paper material model and spec: matte cardstock, cut edges, layered prints, tinted soft shadows
  • extendable structure types: crosses, layered flats, boxes, prisms, domes, decks, bridges and stairs
  • JavaScript libraries for 2D and 3D paper, hinges, motion, procedural paper sound and life
  • three.js and Canvas 2D templates with a walkable hero
  • capture script for stills and MP4 clips at Reel, square, 4:5 and 4K sizes
  • measure-and-critique loop with look metrics and blind A/B sheets
  • gallery of five worlds with their prompts
  • optional image generation only when asked