A GUIDE · SEVEN LAYERS, ONE INTEGER
Wander is a walkable world of 82 ranges, valleys, seas and arenas, and none of it is stored: every cell, settlement, prize and hour of weather is a function of a column number and a seed. This guide takes the seven layers one at a time, each with the law it stands on and the twenty lines that make it, so you can build your own from the kit.
In the editions site: wander/worlds.js (layers 2, 3, 6, 7: the world table, chunks, people, prizes), wander/mesh.js (layer 4), wander/gl.js (layer 5), wander/vehicles.js and wander/wander.js (layer 7 and the client). In the kit: js/wander.js bundles the laws for Node, sitoolz/wander/ is the Python twin, and fixtures/wander.json, written from Wander's own code, is what both must reproduce.
The seventh demo, a walkable world built from the kit alone, is these seven layers in one page.
How Wander is built · by Lars Rocha.