The model: Midtown Manhattan as a dark miniature, subway lines glowing in their line colours with trains on them, Central Park behind.

DataRail · Manhattan

A live miniature of Manhattan.

45,155 real buildings on real terrain, the subway running in real time, and eight ways to look at the city's public data. It runs in a browser tab.

What it is

The city as a circuit board you can read.

Manhattan is drawn building by building from city survey records, lit like a tabletop model and filmed through a tilt-shift lens. The subway is laid over it as glowing traces, and every train the MTA reports is on its track, moving.

Then the same model becomes eight instruments. Switch views to see what is under the street, how hot each block runs, where the fires were, how the wind is moving. Anyone can pin a message to a place, and it stands there as a beacon.

45,155buildings, each at its surveyed height and ground level
496subway stations on 578 stretches of real track
Liveevery train in the MTA's feeds, refreshed every 15 seconds
8views of the same model, each with a legend that names its sources
0API keys. Every source is public.

Eight views

One model, eight instruments.

Each view says what is live, what is a record that runs behind, and what is modelled rather than measured.

Close view of Midtown towers with rows of lit windows, one row per storey, and subway lines running between them.
Midtown: one row of windows per recorded storey

City

  • live trains
  • line status
  • survey records
  • Trains are placed by interpolating the MTA's arrival predictions along real track geometry.
  • Click a train, a station for its next arrivals, or a line for its service alerts.
  • Buildings stand on a terrain grid with a contour line every 10 metres.
  • Messages pinned by visitors stand as beacons of light.

The rule

Where there is no data, the model shows smoke, not a guess.

Every view has places the public record does not reach: the inside of a library, a neighbourhood with no temperature sensor, a block with no traffic count. Those places fill with slow grey smoke captioned RENDER NEEDED.

The smoke is a map of what to go and capture. The plan is for ground-level footage, such as a smart-glasses walkthrough, to fill those places in. That capture pipeline is not built yet.

X-ray view with a panel open for a public library reading: Render needed. Interior: no public scan exists.
A public library in X-ray: the interior is marked, not invented
Upper Manhattan on raised terrain with contour lines, parks in dark green and subway lines following the slope.
Upper Manhattan on its real ground, up to 72 m above the river

The buildings

Surveyed, not sculpted.

Each building carries four facts from city records: roof height, ground elevation, floors above ground, and whether a street survey saw space below grade.

What is not real yet: every building is one flat-topped block. Setbacks, spires and roof shapes are the next step, and they need the city's much larger 3D model.

Under the hood

Small files, custom shaders, no map tiles.

Nothing here is a map service with a skin on it. The city is baked from open data into about 3.5 MB of compact files and drawn with shaders written for this model.

Public sourcesMTA, NYC Open Data, National Weather Service, Citi Bike, PeeringDB, Open-Meteo
Bake scriptsFootprints, track geometry and records become quantised binaries and small JSON, committed with the code
Node serverPolls the live feeds, decodes GTFS-realtime, stores messages in SQLite, serves one JSON API
three.js clientOne mesh for all buildings, instanced everything else, a post-processing chain for the look

45,155 buildings, one draw call

Footprints are quantised to half a metre in a 1.7 MB binary and extruded in the browser into a single mesh. Windows, floor lines and roof edges are computed in the fragment shader, so there are no textures.

Trains without coordinates

The MTA publishes arrival predictions, not positions. Each train is placed by interpolating between the stop it left and the stop it is heading to, along track sliced from the schedule's own geometry.

The miniature look

A long lens, neon bloom, a tilt-shift blur that keeps one band sharp, and animation stepped at 12 frames a second so the board moves like stop-motion.

One mode switch

A single uniform, uMode, re-skins every building: glass for X-ray, thermal palette for heat, pressed flat for the crime columns. Each view adds only its own instanced layers.

Weather as an object

One store answers atmosphere.at(x, z) for any point on the board and notifies subscribers. The Sky view, the top bar and the message composer all read the same snapshot.

A jukebox with no audio files

Five tracks, from phasing ambient loops to bit-crushed haze, generated live with the Web Audio API. Each is a set of rules, so nothing loops and nothing needs licensing.

Data

Every source, and how fresh it is.

WhatSourceFreshness
Trains, line statusMTA GTFS-realtime feeds and alertslive, every 15 s
Track, stations, entrancesMTA static schedule and station recordsbaked
Buildings, terrain, floors, basementsNYC building footprints, PLUTO, DCP subgrade surveybaked
Weather stationsNational Weather Servicelive, every 10 min
Cloud, rain, wind grid, air qualityOpen-Meteomodelled, every 30–60 min
Road speedsNYC DOT speed detectorslive, every 2 min
Bike tripsCiti Bike station feedlive, every minute
Subway entries, sidewalk countsMTA hourly ridership, NYC DOT countstypical for the hour
Street temperature patternNYC hyperlocal temperature studyrecord, 2018–19
Public Wi-Fi, data centresNYC Open Data, PeeringDBbaked
Fires, firehouses, hydrantsFDNY dispatch records, DEP, 311record, about 7 weeks behind
Crime reports, precinctsNYPD complaint datarecord, about 7 weeks behind

This project is not affiliated with or endorsed by the MTA, the City of New York or any other source named here.

Status

What it does not do yet.

Building shapes are flat-topped blocks. Only Manhattan has buildings; the other boroughs are outlines. Nothing ingests field footage, so every "render needed" place is still waiting. The message board has no accounts and no moderation tools.