A village in the browser

Lowpoly Village started as a single index.html with Three.js. The idea was a small world you could look at for a long time: a village in a clearing, surrounded by forest, with flat-shaded hills, blue-grey stone huts under yellow thatch, red barns, red clay paths and smoke rising from the chimneys.
One rule from the first day: no model files. Every hut, tree, tuft of grass and every person is built by code from small parts merged into one mesh with vertex colours. That keeps the look consistent and makes it cheap to try ideas - a new roof is a few lines, not an evening in a modelling tool.
The sun moves across the sky and the shadows follow it, so the same clearing looks different at noon, at sunset and at night.
The browser version grew up to 0.1.29 - gathering, crafting, felling and hauling, the campfire, tent and workbench, hunting with a spear and a bow - before the game moved to C. It is still here: play the browser version (version 0.1.29, single player, nothing is saved; it needs a browser with WebGL). Press Click to play; the mouse turns the camera and the keys are listed in the top right corner.


