# Interactive 3D Miniature City

> A live 3D miniature of Manhattan in your browser: fly to eight landmarks, switch day and night, and orbit over the traffic, pedestrians and boats.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Education](https://www.sandbase.ai/skills/education)
- Version: 0.2.0
- Runs online: yes
- Page: https://www.sandbase.ai/skills/education/manhattan-miniature

## What you get

Bring a city and the landmarks it should feature. The Skill returns a downloadable Skill (meta prompt, lessons, verification) and a runnable reference scene.

## Install

Download the Skill package from https://www.sandbase.ai/skills/education/manhattan-miniature (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/manhattan-miniature build an interactive miniature of <your city> with <your landmarks>
```

## How it works

1. **Describe the city** Start from the bundled Manhattan Diorama, with eight landmark views from the Empire State Building to the Vessel at Hudson Yards, or fill the city and landmarks slots for another place, plus optional palette, interaction, interface and brand slots. fill-prompt.mjs writes the prompt and new-project.mjs copies the project; unknown slots are rejected with exit code 2.
2. **Replace geometry and build** A new city needs its own outline, road-first street plan, blocks and parcels, landmark models, views and copy, not only new names. node tests/run.mjs checks geometry, traffic, diversity and planning without a browser. npm run build:single then writes one offline file that makes no network, storage or model calls; it needs WebGL 2.
3. **Verify and record** npm run shoot runs the browser checks until every one passes, and npm run record writes film.mp4, 12 seconds at 1920×1080 and 30 fps, silent, plus a poster; both need Node 22.4 or newer and Chrome, and recording also needs FFmpeg. In the scene, use the landmark buttons, Day and Night, auto rotate, drag to orbit, zoom and right-drag to pan.

## FAQ

### Does Manhattan Miniature need an API key?

No. Manhattan Miniature generates every building, block and texture in the browser and makes no network, storage or model calls. If you ask an agent to adapt it with a SandBase model, that model call is separate: inspect the model first and keep credentials out of the front end.

### Is the Manhattan Miniature map accurate?

No. In Manhattan Miniature the street plan and landmark positions are artistically compressed to fit a tabletop diorama; it is not a survey, a GIS map or navigation data. Use it for a launch page, a brand piece or an embedded demo rather than measured geography.

### Can Manhattan Miniature show another city?

Yes, with real work. In Manhattan Miniature a new city needs its own outline, street plan, landmark models, views and copy, replaced together rather than only relabelled. Describe the city and landmarks in the slots, then review the result visually, because the mechanism is road graph first, then blocks, parcels and buildings.

### Does Manhattan Miniature have sound?

No. Manhattan Miniature is silent by design, and the recorded 12-second film is silent too. The scene switches to Simplified Chinese with lang=zh-CN, with English as the default, and the command-line tools accept --lang en or zh-CN for their own messages.

### Does Manhattan Miniature work on phones?

Yes. Manhattan Miniature gives phones the low quality tier automatically and a compact layout with tap targets, and it honours reduced motion. Phones were verified only under touch emulation in headless Chrome, so headless frame rates are indicative and real devices still need a check.

### What does the Manhattan Miniature sample include?

Manhattan Miniature's bundled sample, Manhattan Diorama, is one Three.js diorama with a road-first street plan, blocks and parcels, ten ordinary building families, dedicated landmark models, traffic, pedestrians and boats on a floating island tray, with eight landmark views from the Empire State Building to the Vessel.

## Examples

- Manhattan Miniature interactive demo (scene)
- Manhattan in Miniature (video)
