Inspiration
Rexburg is a small city with a very large university. BYU–Idaho's student population shapes everything here: housing, where people shop, and especially traffic. Every new apartment complex, grocery store or office sends more cars onto the same handful of streets, and the city is growing fast. We noticed that city planners usually approve projects one at a time, and a full traffic study for every idea is too slow and expensive. We wanted to give planners a way to test ideas before they're built.
What it does
Rexburg Growth Atlas is a 3D model of Rexburg that simulates traffic hour by hour, from today through 2034.
- Overview: shows how traffic delay, crowded streets, population, and student housing change year by year, with and without the projects the city already has planned.
- Planner: lets you place a new project (student housing, a neighborhood, a grocery store, an office or clinic, a parking structure) for a future year. The app re-routes every trip in town and shows which streets it would back up.
- AI recommendations: test other open sites across town and rank them by which placement adds the least delay, so planners can compare options side by side. The planner always makes the final call.
- Honest limits: the app says plainly what it doesn't check, like zoning, land ownership and cost.
How we built it
- Frontend: React 19, TypeScript and Vite, with a 3D city built in three.js. It includes terrain, buildings, trees, both temples, a moving sun with real shadows, and cars driving the network.
- Map data: streets and buildings come from OpenStreetMap. Planned projects come from public city and developer information, with each project's car trips estimated from its published size.
- Growth model: population, student enrollment, student beds and housing grow year by year from local figures.
- Traffic model: every trip is routed through the street network in a web worker so the map stays responsive. Each street's travel time uses the standard BPR curve:
$$t = t_0\left(1 + 0.15\left(\frac{v}{c}\right)^4\right)$$
where $t_0$ is free-flow travel time, $v$ is traffic volume and $c$ is the street's capacity. Total delay is the extra time added up over every car:
$$\text{Delay} = \sum_{\text{streets}} v \cdot (t - t_0)$$
Challenges we ran into
- Speed: routing every trip in town for every scenario is heavy. We moved the routing into a web worker and queued requests so the map never freezes.
- Making AI useful, not just impressive: we went back and forth on what the AI should do. We landed on having it test and rank options while the planner decides, rather than letting it make choices on its own.
- 3D accuracy: roads and buildings first appeared to float above the ground, and shadows looked wrong. Fixing that meant reworking layer heights and the camera's near plane.
- Staying honest: it's tempting to present model numbers as facts. We added clear labels for what the app does and doesn't account for.
- Teamwork: we merged a major interface redesign mid-project while both of us kept building features. -** Data:** Finding API's and data that we can use for free. It was very hard to make it as accurate as possible due to limited data available to the public and which are free.
Accomplishments that we're proud of
- A live 3D city where you can watch traffic shift as you move through the hours and years.
- AI recommendations that compare real routed results, not guesses.
- A tool that a non-engineer can use to understand why one site is better than another.
What we learned
- Traffic is a network problem. A single building can back up streets blocks away.
- How traffic engineers estimate congestion, and why a model is best for comparing options, not predicting exact counts.
- Being upfront about a tool's limits builds more trust than overselling it.
What's next for Growth Atlas
- Add zoning and land-use data so recommendations only suggest sites where a project could actually be built.
- Calibrate the model against real traffic counts from the city and the Idaho Transportation Department.
- Show per-project breakdowns and practical measures like walking distance to campus.
- Put it in front of Rexburg planners for feedback.