jeremyiv/elastic-streets — explained in plain English
Analysis updated 2026-05-18
Create a 24-hour looping animation showing how traffic changes a city's shape.
Reproduce pre-built animations for Manhattan, Seattle, or Los Angeles with two commands.
Generate similar traffic-time animations for other cities using Mapbox data.
Explore the animation interactively in a browser-based viewer.
| jeremyiv/elastic-streets | jianshuo/claude-skills | opsintech/opsintech-platform | |
|---|---|---|---|
| Stars | 34 | 34 | 34 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 3/5 | 3/5 | 4/5 |
| Audience | data | vibe coder | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Generating a new city's animation requires a Mapbox API key and 10 to 30 minutes of computation.
Elastic Streets creates animated videos of city maps where the distance between any two points on screen corresponds to how long it actually takes to drive between them at that hour of the day. During rush hour, when travel times are long, the city stretches and swells. In the middle of the night, when roads are clear and drives are quick, the city compresses back down. The result is a 9-second looping animation showing 24 hours of a city breathing in and out. The project works by taking real driving speed data, either from Uber Movement records (available for Manhattan and Seattle from 2019) or from Mapbox traffic estimates (usable for any city). For each of the 24 hours in the day, it runs a mathematical optimization that repositions every street intersection so that the screen distances match the real drive times as closely as possible. It then smoothly interpolates through the 24 positions to produce the final animation. The pre-computed layouts for Manhattan, Seattle, and Los Angeles are already included in the repository, so reproducing the existing videos requires only two commands and no data downloads. Rendering takes roughly 10 to 30 minutes on a standard machine. An interactive browser-based viewer is also included, letting you step through the 24-hour animation in a web page. For cities beyond the three included, the project provides scripts to pull traffic estimates from Mapbox and re-run the full computation from scratch. The README also notes that the project folder includes a CLAUDE.md file that gives Claude Code enough context to rebuild or extend any of the animations conversationally, without needing to read through the scripts manually.
Generates looping animated maps where a city visually stretches and shrinks to show how driving times change over 24 hours.
Mainly Python. The stack also includes Python, Mapbox.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly data.
This repo across BitVibe Labs
Verify against the repo before relying on details.