Tabletop Diorama: A Walkable Miniature World on a Desk
- Lab Skill
- v0.1.1
- Interactive 3D
Walk, run and jump a small character across a miniature world laid out on a tabletop, in one offline HTML file. Two finished worlds come with the Skill: a stitched patchwork-quilt countryside on a cutting mat, and a 2150 neon city on a terraced circuit board. three.js renders soft shadows, reflections and a tilt-shift lens; Rapier physics lets the character climb hills and knock props over. Every shape and texture is code.
Examples · 2

Runs in a sandboxed frame with no access to this page.
Run online
Run in a SandBase sandbox and view your results in Lab.
Open in Lab ↗What you get
Bring a material or era for the miniature world (felt, paper, clay, toy bricks, circuit boards, ruins…) and what should stand on it. The Skill returns a downloadable Skill (the three.js and Rapier engine, two theme projects, a single-file build and a play-test) and two playable examples.
How it works
- 01
Pick a sample and describe the world
Start from the patchwork-quilt countryside or the neon circuit city, and describe what the miniature world is made of and what stands on it. The agent changes only the theme folder; the engine is shared and stays as it is.
- 02
Write the theme
A theme sets the light, sky and lens, defines the ground height and draws it, places houses, trees and props, and lists which props the physics can push. Everything is made from three.js shapes and canvas textures: no model, texture or sound files.
- 03
Build and verify
npm run build:single inlines three.js, the Rapier physics engine and the world into one file of about 3 MB that makes no network requests. npm run shoot plays it headlessly and runs 22 checks, from walking and running to knocking a prop over. Both examples passed 22 of 22.
FAQ
Does Tabletop Diorama call a model or need a key?
No. Nothing in the Skill calls a model or a paid service; your coding agent writes the theme locally, and the world is generated in the browser.
What do I need to run it?
A recent desktop or phone browser with WebGL 2 and WebAssembly. Building a new world needs Node.js and, for the play-test, a local Chrome.
Why does the diorama run inside a frame?
The world is served from an opaque origin with no network, so it cannot read this page or go online — what you walk through is the verified build.
Can I use my own models or textures?
The Skill is built to make everything in code. You can add your own files only if you own them or they are CC0, and list each in the theme’s credits; images or models from games and product sites are not allowed.
How is it different from Felt Tabletop Miniature?
Felt Tabletop Miniature renders a film you watch. Tabletop Diorama is a world you walk through yourself, with physics, in real time.
Can I make a new world on this page?
Not yet. A new theme is written by your own coding agent from the Skill; run it locally, then open the single HTML file it builds.
More Skills
All Interactive 3D Skills →
Resin Diorama
Live 3D resin-block dioramas in your browser: send a little tram across a clear turquoise sea, or ripple the bay of a cliff island. Synthesized sound, and every scene can be tuned.

3D Vehicle Worlds
Explore interactive 3D vehicle worlds in your browser, with varied terrain, camera controls and driving effects. Choose a playable example to begin.

3D Firefly Terrariums
Turn a thick glass miniature, scatter glowing fireflies and open its brass lid. Actual particles leave through the neck and return before it seals. A moonlit cabin, forest and real local lights in one offline HTML.

Jelly Candy: Fruit Bears
Six translucent fruit gummies on a white table. Grab any part and pull, lift a head until the neck stretches thin, press one flat until it springs back, flick one across the pile or pour in more. Fixed-step soft-body physics and a marching-cubes skin in one offline HTML.

WebGPU Soft-Body Gummy Bears
Four translucent gummy bears on an ivory floor, rendered with native WebGPU. A deterministic 36-second choreography stretches, presses, flips and tumbles them before they settle back to the exact rest pose. Drag any bear to stretch, squish or toss it. A fixed-step tetrahedral XPBD solver in one offline HTML.

Stone Stars: 3D Miniature Landmark City
Turn a city into a storybook 3D island around one landmark, with chapters, a daylight-to-starlight slider, street life and a matching scored 24-second film. Sample: a Gaudí-style basilica.
