Transportation planning and traffic simulation software for creating cities friendlier to walking, biking, and public transit
Go to file
Michael Kirk a5b6dca62a replace Btn::text_bg2 w/ regex
In case I have to revisit, here's the regex I used:
    Btn::text_bg2\(([^)]*)\)*.build_def\(ctx, ([^()]*)\)
    ctx.style().btn_primary_dark_text($1).hotkey($2).build_def(ctx)

And something like this for the "no hotkey" case
    Btn::text_bg2\(([^)]*)\)*.build_def\(ctx, None\)
    ctx.style().btn_primary_dark_text($1).build_def(ctx)
2021-01-21 15:25:46 -08:00
.github/workflows Rename the experiment crate in preparation for a Monday release 2020-12-19 10:01:28 -08:00
abstio Bring in linear pedestrian highways as cycleways+shoulders. #458 2021-01-16 17:03:13 -08:00
abstutil Start all UI apps except for game by loading a map using the async interface. This lets someone on the web immediately start with any map based on URL params. And it's one step towards removing the montlake file from being hardcoded in the wasm. #344 2021-01-09 14:45:33 -08:00
book Reorganize importer code, so that regenerating all cities can be done 2021-01-19 12:52:56 -08:00
collisions Display tooltips in the collision viewer. #87 2020-11-10 12:49:08 -08:00
convert_osm Bring in linear pedestrian highways as cycleways+shoulders. #458 2021-01-16 17:03:13 -08:00
data use icon button for "jump to time" 2021-01-21 15:25:46 -08:00
fifteen_min replace Btn::text_bg2 w/ regex 2021-01-21 15:25:46 -08:00
game replace Btn::text_bg2 w/ regex 2021-01-21 15:25:46 -08:00
geom button revamp groundwork (#459) 2021-01-19 10:10:18 -08:00
headless Switch all error handling to anyhow. Nothing consumes our code as a 2021-01-05 11:35:03 -08:00
importer Reorganize importer code, so that regenerating all cities can be done 2021-01-19 12:52:56 -08:00
kml Use roxmltree/std to get an error implementation and make using it more ergonomic 2021-01-05 11:37:48 -08:00
map_editor When importing external scenario data for cyipt/actdev#32, snap border endpoints based on the allowed modes of each border. Without this, some driving trips snap to the cycleway next to a road. 2021-01-15 21:45:42 -08:00
map_gui replace Btn::text_bg2 w/ regex 2021-01-21 15:25:46 -08:00
map_model Fix deserializing a map in JSON. #392 2021-01-19 11:27:56 -08:00
osm_viewer replace Btn::text_bg2 w/ regex 2021-01-21 15:25:46 -08:00
parking_mapper replace Btn::pop_up 2021-01-21 15:25:46 -08:00
popdat Refactor the logic of distributing N people to K buildings. This was 2021-01-13 11:18:51 -08:00
release Include the importer in the release again -- I accidentally stopped 2021-01-13 10:52:07 -08:00
santa replace Btn::text_bg2 w/ regex 2021-01-21 15:25:46 -08:00
sim When cancelling a driving trip, sometimes we need to delete the parked car from the origin if the person hasn't actually left yet. #312 2021-01-21 12:33:15 -08:00
sumo Grab new Seattle OSM data with some junction=intersection tags in Montlake and along Aurora. #114 2021-01-07 11:11:59 -08:00
tests Based on importer config, try using separate cyclepaths directly. #330 2021-01-12 11:13:45 -08:00
traffic_seitan Handle deleting cars live from the middle of uber-turns. #312 2021-01-19 15:43:01 -08:00
traffic_signal_data For extremely short roads (under 2 meters after calculating intersection 2021-01-15 15:32:01 -08:00
updater Dedupe must_run_cmd. I think I did this before updater took a dependency on abstutil. 2021-01-19 14:41:56 -08:00
widgetry replace Btn::text_bg2 w/ regex 2021-01-21 15:25:46 -08:00
widgetry_demo icon buttons should be same height as text buttons 2021-01-21 09:08:41 -08:00
.gitignore Map: Warsaw 2021-01-18 17:58:05 -08:00
Cargo.lock Handle deleting cars live from the middle of uber-turns. #312 2021-01-19 15:43:01 -08:00
Cargo.toml Import a SUMO network, transform it into an ABST map. So far, this gets 2021-01-05 12:44:38 -08:00
clippy.sh round of clippy. not fixing everything. 2019-12-11 16:17:15 -08:00
format_md.sh Fix more broken links. Sadly can't enable linkcheck, because it has two false positives. 2020-09-24 19:37:16 -07:00
import.sh util to convert geojson to osmosis polygon (#309) 2020-09-02 15:29:25 -07:00
LICENSE Initial import of A/B Street prototype. 2018-03-13 08:06:03 -07:00
README.md new release 2021-01-17 09:58:49 -08:00
rgrep.sh Set up a test scenario for lane-changing to reproduce #382. The same 2020-11-11 11:33:47 -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 stuck in traffic on a bus, wondering why is there legal street parking instead of a dedicated 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.

Show, don't tell

Alpha release trailer

Find a problem:

exploring_traffic

Make some changes:

editing_map

Measure the effects:

evaluating_impacts

Documentation

Roadmap and contributing

See the roadmap for current work, including ways to help. If you want to bring this to your city or if you're skilled in design, traffic simulation, data visualization, or civic/government outreach, please contact Dustin Carlino at dabreegster@gmail.com. Follow r/abstreet for weekly updates or @CarlinoDustin for occasional videos of recent progress.

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 be highly accessible, by being a fun, engaging game. See here for more guiding principles.

Credits

Core team:

Others:

Data: