Live data from Hacker News

Abstreet: Traffic simulation game written in Rust

github.com

1–10 of 77 posts

Re: Abstreet: Traffic simulation game written in Rust

#2
The next step would be writing a program to modify intersections, monitor how long cars take to get a journey done and optimize the streets for total transit time, or emissions, or whatever. That's probably faster than letting people discover optima along their usual routes.

Re: Abstreet: Traffic simulation game written in Rust

#4
Nice work. I'm wondering since this project seems to use its own nicely modularized GUI library, what motivated you in particular to write your own instead of using an existing Rust GUI library/game engine ? And would you make the same decision if you started now (vs 2 years ago) ?

Re: Abstreet: Traffic simulation game written in Rust

#7

Is this is a one person show? If so bravo! It looks like there's a mirror at google though, is this like a mini-google project?

Not a mirror, it was forked initially from that repo 2 years or so ago when the codebase had just roughly 20 commits, and it the contributor graph shows it is indeed basically just Dustin working on this.

Re: Abstreet: Traffic simulation game written in Rust

#8
I swear I was discussing exactly this sort of simulation with my brother as both of us wondered how many city planners model the changes they are making to the road networks before pumping millions into projects that dump traffic from one point to another. Additionally, it'd be interesting to simulate the cascading effect of traffic violations like bad parkings, straddling lanes.

Kudos to Dustin for working on this.

Re: Abstreet: Traffic simulation game written in Rust

#9

I swear I was discussing exactly this sort of simulation with my brother as both of us wondered how many city planners model the changes they are making to the road networks before pumping millions into projects that dump traffic from one point to another. Additionally, it'd be interesting to simulate the cascading effect of traffic violations like bad parkings, straddling lanes. Kudos to Dustin for working on this.

There are commercial traffic micro-simulation applications[0] for exactly this purpose.

[0] https://en.wikipedia.org/wiki/Microsimulation#Traffic_micros...

Re: Abstreet: Traffic simulation game written in Rust

#10
post #3

This is really fucking cool. And I love your ultimate objective: to allow informed public participation in transport planning. Nice developer info, too. Looking forward to playing with this.

Yes it's awesome! Calling it just a 'traffic simulation game' is probably a disservice to the potential applications of something like this. Very inspiring!
Post reply on HN