Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

huangserva/manhattan-free-roam

Games

A browser-based Midtown Manhattan you can walk, drive and fly through, plus a Blender pipeline that renders it as a 2K film.

102
27
JavaScript
NOASSERTION
1 day old

Overview

manhattan-free-roam recreates Midtown Manhattan in the browser on top of Three.js and OpenStreetMap data: 20,077 buildings, 14,730 road segments and 32,407 trees are placed from real map data, along with 45 AI-generated landmark models such as the Empire State Building and Grand Central. You can move on foot, drive, or fly, switch between day and night, trigger a citywide light show, and design or record camera paths.

It is explicitly not a game: there are no missions or gameplay systems, and close-up detail is limited. The value is the explorable city and the production pipeline behind the 60-second 2K film.

Browser city

Requirements: Node.js 20.9 or newer (the authors used 22).

npm install
npm run dev

Open http://localhost:5183 in Chrome and click the canvas to start. Key bindings: WASD + mouse to move, Shift to speed up, Space/E and Q/C to ascend/descend while flying, V to toggle flying and walking, E to enter or exit a car, F to search and navigate to a place, T for day/night, G for the light show, B for the camera panel, H to hide the UI and M to mute.

To use different 3D models, drop GLB files into public/models/<category>/raw/<name>.glb and run npm run models. Landmark IDs come from public/city.json; cars, people and trees have fixed name lists in the README. Models are optional — the city still runs if a model is removed, falling back to simple procedural shapes.

Recording and Blender rendering

In the city, press B, fly to a spot, press K to record a camera position, press P to preview and Z to record video. The film's camera paths are in shots/trailer3.json and shots/lightshow3.json. Headless recording needs the dev server running, Chrome and ffmpeg:

node tools/record.mjs shots/trailer3.json

Output goes to renders/capture/ and does not require a GPU. For ray-traced footage, export and bake the scene (npm run export, npm run bake), then run the Blender/Cycles pipeline on a machine with an NVIDIA GPU. The authors used Blender 4.5 and a rented 24 GB GPU: 16–21 seconds per frame at 2560×1440, about 3,450 frames and roughly 17 hours for the full film. The two scripts under tools/render/ were rewritten for general use and only syntax-checked, not run end-to-end on a new machine, so that part may need adjustment.

Changing the area

Edit the latitude/longitude box in tools/area.mjs and run npm run data. This downloads buildings, roads, parks and water from OpenStreetMap and generates public/city.json. Manhattan-specific content (landmark list, distant skyline, Times Square screens) is not regenerated automatically. The authors suggest starting with a few blocks.

Constraints and licensing

  • The bundled models total about 110 MB; the original roughly 4 GB source models are not included.
  • Blender rendering needs a dedicated NVIDIA GPU; do not attempt it on an integrated-GPU machine.
  • The soundtrack and narration are not in the repository and must be prepared separately.
  • Code is MIT; city data is OpenStreetMap under ODbL; AI-generated 3D models are CC BY 4.0. Other assets are covered in ASSETS.md. The project is unaffiliated with Rockstar Games or Take-Two.

HotRepo's take

The repository entered HotRepo's new-project board on the JavaScript list on 2026-11-27 with 102 stars and 27 forks, gaining 2 stars in the recorded one-hour window. That is enough to establish it as a small but real open-source release with its own code and assets, not a promotional shell. The interesting technical fact for readers is not the star count but the split pipeline: a browser engine for instant exploration and a Blender/Cycles path for film-quality output, with the general-use render scripts explicitly marked as not fully validated.

Project source and documentation

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. op7418/guizang-game-skillA Claude Code/Codex skill that guides AI agents through building a playable 3D browser action game.JavaScript109
  2. mrdoob/slop-newyorkA forkable three.js Manhattan simulation for developers who want a city-scale starting point to remix into games or experiments.JavaScript331
  3. ahujasid/mcp-for-blenderLets an LLM drive Blender through MCP so you can build and edit 3D scenes with prompts instead of manual modeling.Python32,221