Papercraft

Build games, web pages, and animations that open and move like a paper pop-up book.

Papercraft pairs Three.js and Canvas 2D templates with techniques for cutting, layering, and folding virtual cardstock. Hinged movement, soft shadows, and paper sounds give each scene the feel of a handmade model.

Use cases

  • Make a bakery storefront unfold as visitors open its landing page
  • Build a harbor town that players can explore on foot
  • Render a vertical video of a paper lighthouse at dawn

How to use

Install with npx skills add xikhar/papercraft. Describe the subject, what should move, and whether you want an interactive page or a rendered clip. Include reference images if you have a particular palette or setting in mind.

Skills

  • papercraft

    Builds games, interactive scenes, web pages, animations and videos (any format: 16:9, a vertical 9:16 Reel, square, 4K) in a handcrafted pop-up book papercraft style, for any subject (a Mars base, a reef city, a village): printed cardstock pieces with thin cut edges that fold up on hinges from a printed ground, soft layered shadows coloured by the world, a tilt-shift macro lens, calm hinge motion and soft paper sounds, built in the browser with three.js or Canvas/SVG/CSS and no image generation needed. Use when something should look, move or sound like paper or card (pop-up, papercraft, paper diorama, cut-out, made of paper, handmade, storybook). Not for real folding instructions, printable craft patterns, or paper as in documents.

    xikhar/papercraft