3D Scene · Claude Opus 5.5

Isometric City Builder: Pocket Metropolis

Pocket Metropolis. A self-contained, interactive 3d scene experiment from the 100 HTML collection. Open the source to try the complete build.

Preview of Pocket Metropolis

Reusable prompt

Editorial reference template. This is not a verified transcript of the creator’s prompt and has not been verified to reproduce the displayed result.

Create a standalone interactive 3D web experience called “Pocket Metropolis”. Establish a strong first frame, intentional camera, lighting, depth, materials, and one meaningful pointer or keyboard interaction. Use one HTML file with inline CSS and JavaScript and no external assets. Keep rendering responsive, cap device pixel ratio, provide adaptive quality and reduced-motion behavior, and inspect mobile framing, clipping, frame rate, and console output before delivery.

Adapt this example

Editorial guidance based on the listed brief and source. These steps have not been tested as a reproduction of the displayed result.

What to prepare

Choose a grid size, building types and simple placement rules. The source interface exposes construction tools, demolition, pan and zoom; do not assume a particular 3D engine from its appearance.

Suggested workflow

  1. Adapt the generic scene prompt to specify a grid and one placement action.
  2. Add removal and navigation without letting a drag accidentally place a building.
  3. Define how population or happiness should react before implementing those counters.

What to check

  • A selected tool places the intended object.
  • Pan and zoom do not change placement coordinates incorrectly.
  • Removing an object updates the visible state.

If the result needs work

If clicks select the wrong tile, test the pointer-to-grid conversion at several zoom levels before adding more buildings.