generate landforms for voxel-engine


A terrain generator combining several landform features. Grass, dirt, stone, trees.

Trees are provided by voxel-forest, and the overall grass surface by Perlin noise (similar to voxel-perlin-terrain:

Beneath the grass is dirt, and then all chunks below are stone:

var createLand = require('voxel-land');
var land = createLand(game, opts);

or with voxel-plugins:

plugins.load('land', opts);

The voxel-engine game options should have generateChunks: false. voxel-land will listen on game.voxel for the missingChunk event and generate the new chunks. The listener can be unregistered with land.disable().