village-layout.js
three.js and WebGL · A picture layout · MIT
- What it does
Plans a village from a seed: lanes, building plots that face the nearest lane without overlapping, and scatter zones for the gaps. The same seed gives the same plan in Node and in the browser. It places nothing itself; you put kits on the plots.
- Get it
import { planVillage, place, nearestPathPoint, pathRibbon } from './kits/layout/village-layout.js'; const plan = planVillage({ seed: 1, radius: 26, plotCount: 8, pathWidth: 2.6 });
- Needs (the whole pack)
Nothing to read the skill. Python 3 for the catalog helpers. Node with pnpm or npm for the starter and the examples. Optional: Playwright for its capture script, and Blender 4.2 or newer for its baked hero tier. The six anatomy studies need 169 MB of meshes fetched separately.
- License
MIT
- From