Transportation planning and traffic simulation software for creating cities friendlier to walking, biking, and public transit
Go to file
Dustin Carlino bba71844fd small tweaks after a quick round of UX testing: [rebuild]
- flip order of +.1s, +1h buttons to match qwerty keybindings
- arrow keys for changing speed
- escape key applies to info panels first
- click out of some Composites to cancel them
2020-02-23 11:37:09 -08:00
.github/workflows woops, need rust 1.41 in github actions for the cargo profile overrides 2020-02-18 15:43:21 -08:00
abstutil name intersections in info panels better, and avoid horizontal scrolling 2020-02-17 17:07:25 -08:00
convert_osm not all lanes have to be the same width. make sidewalks a bit thinner. 2020-01-28 17:26:14 -08:00
data new lyon can handle the last two svgs! remove the pngs 2020-02-20 18:16:46 -08:00
docs new release 2020-02-16 21:06:57 -08:00
ezgui small tweaks after a quick round of UX testing: [rebuild] 2020-02-23 11:37:09 -08:00
game small tweaks after a quick round of UX testing: [rebuild] 2020-02-23 11:37:09 -08:00
geom upstreaming some changes for wasm here 2020-02-14 14:28:25 -08:00
gtfs get the sim crate to build to wasm. a small step towards #21 2020-01-30 17:28:52 -08:00
headless also group raw_maps in data/input 2019-12-03 12:06:49 -08:00
kml remove old census popdat stuff 2019-12-03 11:42:02 -08:00
map_editor get map_editor working on wasm target 2020-02-14 16:04:33 -08:00
map_model fix traffic signal editing, broken by the EditCmd refactor 2020-02-19 09:55:50 -08:00
popdat use named csv fields in psrc parser. group trips by person in popdat layer, discovering that almost no people have multiple trips... 2020-02-05 11:22:56 -08:00
precompute make Timer methods and ModalMenu take &str or String 2019-12-12 10:25:48 -08:00
release moving game assets to data/system, to more easily bundle in wasm 2020-02-15 16:19:23 -08:00
sim fix the active agents calculation. buckets... don't make any sense. 2020-02-20 17:50:42 -08:00
tests not all lanes have to be the same width. make sidewalks a bit thinner. 2020-01-28 17:26:14 -08:00
.gitignore hack in a second scenario on a synthetic map, just to start to figure out how to organize this 2019-12-06 11:33:01 -08:00
Cargo.toml oh yeah, rust 1.41 has profile overrides. have some massive speedup in 2020-02-18 07:56:38 -08:00
clickable_links.py rename the main editor crate to game -- map editing is just a tiny piece ;) 2019-09-07 13:09:09 -07:00
clippy.sh round of clippy. not fixing everything. 2019-12-11 16:17:15 -08:00
exec_tests.sh revive the other transit test 2018-11-26 14:36:59 -08:00
format_md.sh adding a new hint for extra turn restrictions 2019-08-06 14:02:34 -07:00
import.sh fix small bug in import script, and skip over bad polylines in 2019-12-03 19:28:58 -08:00
LICENSE Initial import of A/B Street prototype. 2018-03-13 08:06:03 -07:00
precompute.sh scrape info from PSRC to relate trips to people. not plumbed into 2020-02-04 19:54:13 -08:00
README.md new release 2020-02-16 21:06:57 -08:00
rgrep.sh get halloween working with small lines. refactor a Line::maybe_new. 2019-02-01 12:12:40 -08:00
rustfmt.toml tweaking rustfmt options; the long literal string vecs in tutorial look awful 2020-01-21 15:20:02 -08:00

A/B Street

Ever been on a bus stuck in traffic, wondering why there are cars parked on the road instead of a bus lane? A/B Street is a game exploring how small changes to a city affect the movement of drivers, cyclists, transit users, and pedestrians.

Removing dedicated left-turn phases from a traffic signal:

fix_traffic_signal

Watching the Mercer backup start at 4am:

exploring_traffic

Documentation for developers

Features

  • The map
    • A detailed rendering of Seattle from OpenStreetMap and King County GIS data, including sidewalks, on-street parking, bike lanes, bus-only lanes, turn lanes, buildings, and bus stops.
    • Intersections governed by stop signs and traffic signals, with default signal timings heuristically inferred. Hand-tuned geometry to reasonably model Seattle's strangest intersections.
    • You can adjust lane types, stop signs, and traffic signals, and reverse lanes.
  • The traffic
    • Individual cars, buses, bikes, and pedestrians move through the map.
    • Most trips are multi-modal -- for example, a pedestrian exits a building, walks a few blocks over to their parked car, drives somewhere, looks for parking, and walks to their final destination.
    • A realistic set of trips -- how many people go from building 1 to building 2 at some time using some form of transport -- based on PSRC's Soundcast model.
  • The gameplay
    • Start in sandbox mode, exploring the map, watching traffic patterns, following individual agents, looking for problems.
    • Jump to edit mode, where you can convert some on-street parking to bus lanes and adjust traffic signals to try to fix some problem.
    • Try your change in A/B test mode, running two traffic simulations side-by-side. Explore how individual agents finish their trips faster or slower, and compare aggregate results about different groups of traffic.
    • Attempt a predefined challenge with particular objectives, like speeding up certain bus routes or designing a full bike network.

Roadmap

In February 2020, user-testing and polishing before a wider announcement. After that:

  • Model more things: light rail, shared bike/walking paths, ridesharing, utility functions for different groups
  • Improve map and demand data quality
  • Continue polishing the UI and improving data visualization
  • More challenges and exploring radical new ideas (like Madrid superblocks)
  • Expand to other cities
  • Implement a web version

Project mission

If you fix some traffic problem while playing A/B Street, my ultimate goal is for your changes to become a real proposal for adjusting Seattle's infrastructure. A/B Street is of course a game, using a simplified approach to traffic modeling, so city governments still have to evaluate proposals using their existing methods. A/B Street is intended as a conversation starter and tool to communicate ideas with interactive visualizations.

Why not leave city planning to professionals? People are local experts on the small slice of the city they interact with daily -- the one left turn lane that always backs up or a certain set of poorly timed walk signals. Laura Adler writes:

"Only with simple, accessible simulation programs can citizens become active generators of their own urban visions, not just passive recipients of options laid out by government officials."

Existing urban planning software is either proprietary or hard to use. A/B Street strives to set the accessibility bar high, by being a fun, engaging game.

Credits

Contributing

Help always needed! If you want to bring this to your city or if you're skilled in graphic or user experience, traffic simulation, data visualization, or civic/government outreach, please contact Dustin Carlino at dabreegster@gmail.com or post at r/abstreet. I also welcome any contributions on Patreon.