Village Generator | Curious Electric

Village Generator

2026/03/20
Technologies: JavaScript ThreeJS WebGL AI

A browser-based procedural town generator: roads, houses, fields, forest and coastline, generated from a few parameters and rendered in real time with Three.js.

A generated village at midday

Coastal or central-road layouts, an intersection-aware continuous road mesh that joins cleanly at junctions, edge-placed houses with varied roofs and windows, and a full day/night cycle — the sun and moon arc across a dynamic sky, and window and street lights switch on after dark.

The same village at night

It was built largely with AI assistance (Claude) as part of our exploration into AI-assisted engineering — see the news post for that story.