ddbadd2da3
The pattern is somewhat similar to how different components share a Panel. The "outer-most" piece owns the World, calls into InputWaypoints to fill out the World, and plumbs un-handled events to it. Also handle a tricky low-level bug with ctx.normal_left_click() and detecting drags vs clicks. Now finally there's no buggy conflicts between dragging waypoints and hovering on the alternate routes! |
||
---|---|---|
.github/workflows | ||
abstio | ||
abstutil | ||
cli | ||
cloud | ||
collisions | ||
convert_osm | ||
data | ||
fifteen_min | ||
game | ||
geom | ||
headless | ||
importer | ||
kml | ||
map_editor | ||
map_gui | ||
map_model | ||
osm_viewer | ||
parking_mapper | ||
popdat | ||
release | ||
santa | ||
sim | ||
tests | ||
traffic_seitan | ||
traffic_signal_data | ||
updater | ||
videos | ||
web | ||
widgetry | ||
widgetry_demo | ||
.dockerignore | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
import.sh | ||
LICENSE | ||
README.md | ||
rgrep.sh |
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. It works anywhere in the world, thanks to OpenStreetMap.
- Play on Windows, Mac, Linux, FreeBSD, your web browser, or read all instructions (new releases every Sunday)
- build from source (new changes daily)
- Try the Dec 2020 surprise: 15-minute Santa
Show, don't tell
Find a problem:
Make some changes:
Measure the effects:
Documentation
- Technical
- Presentations
- Project
Roadmap and contributing
See the roadmap for current work, and all of the ways to contribute. 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:
- Dustin Carlino (dabreegster@gmail.com)
- Yuwen Li (UX)
- Michael Kirk