Back to projects

Full-StackPrototype2026

Riverton

How a city's electricity works, in a city you can switch on and off: an isometric 3D simulation where you shut down the nuclear plant, put solar on every roof or trigger a heatwave, and the grid reacts in plain words.

12
What if scenarios
1.2 × 0.84 km
City grid
None
Backend, accounts, API keys

Timeline

Nov 2026

Role

Design, simulation and 3D

Team

Solo

Domain

Energy education · Simulation

Status

Prototype

Stack

Next.js 16React Three FiberThree.jsTypeScriptBlender (procedural)Zustand

Section 01

Overview

Most people have no idea what happens between a power plant and their kettle, and every explainer assumes they want charts. Riverton assumes they want to poke something. It is a planned city rendered as an architectural white clay model, with a live clock, weather, and a grid you can break.

The whole thing runs in the browser with no backend and no accounts. Every number is a teaching value for a fictional city, chosen so the real patterns show up, and the app says so.

Riverton at midday: everyone has power
Isometric white clay model city with a river, labelled nuclear plant, hospital, stadium and airport, and a live card showing the power mix

Section 02

Twelve What-Ifs

The sidebar asks the questions people actually have: where does my electricity come from, why is 7 pm the busiest hour, what does a big game night do, what if every car were electric. Tapping one sets up the city, flies the camera to the place that matters, and shows a live before and now comparison with a two-sentence explanation and one big idea.

Every scenario ends with a follow-up that lets you try the fix: switch the neighbourhood back on, set the air conditioners two degrees warmer, close the backup link.

The twelve questions, grouped by what they teach
What if sidebar listing twelve questions grouped under start here, every day and cleaner power
Following the power from plant to home
The path from nuclear plant through substations to North Hills homes lit up on the map, with a watch panel showing plant output

Section 03

The Grid Model

Riverton is 1.2 by 0.84 km on a 10 m grid: seven housing estates, five apartment districts, downtown, a tech park, industry and docklands, fed by a nuclear plant, a gas plant, solar and wind farms, a giant battery and a link to neighbouring cities, through five substations on a high-voltage ring.

The simulation keeps real grid behaviour: nuclear runs flat out while gas follows the ups and downs, the battery charges at noon and gives back after sunset, substations tolerate brief overloads before tripping, and when supply falls short, load sheds by priority, with the hospital and the water plant last in line.

Shutting the nuclear plant: a rolling blackout, the hospital stays on
Nuclear plant switched off, three areas with no power, gas at full power, 94 percent bought from neighbours and a missing slice in the power mix
A heatwave trips the downtown substation
Heatwave scenario at 34 degrees with the downtown substation switched itself off, four areas dark and toasts for city hall, mall and shops

Section 04

The Craft

The city is generated procedurally in Blender by a build script and rendered with React Three Fiber, in an architectural model-making style: matte white buildings, soft shadows, blue glass water. Labels name places the way people do, Homes and Hospital, not feeder-7.

The plain-words rule runs all the way down. The Right Now card reduces the grid to one bar and three gauges: clean power, pollution, cost. Megawatts exist, but only behind the number button for those who want them.

Solar on every roof: the gas plant switches off at lunch
Solar panel scenario with rooftop panels on every house, gas plant off, pollution none and spare power being sold to neighbours
Riverton city overview on a phone
Riverton on a phone

Section 05

Results

Riverton is the clearest statement of how I think about explaining systems: simulate honestly, narrate plainly, and let people break things safely.

  • Twelve scenario walkthroughs with live before and now comparisons and one-idea summaries
  • Priority-based load shedding, substation overloads, battery cycling and import limits, all modelled client-side
  • A procedurally generated 3D city with no backend, no accounts and no API keys
  • Every number is a labelled teaching value, not a real-world claim