Rooftop generating power
Rooftop in shadow
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.
Rooftop solar panels don't just depend on how much sun is out — in a real city they depend on what's standing next to them. This simulator builds a 3D block of buildings with adjustable street-canyon width and height variance, tracks the sun across a real solar-position model, and casts a shadow ray from every rooftop each frame to determine whether a taller neighbour is blocking it. Watch total city photovoltaic output rise and fall through the day as shadows sweep across the block, and see how narrowing the streets or randomizing building heights trades usable rooftop area for lost solar yield.