maxogden / Voxel Simplex Terrain
generate voxel terrain using simplex noise
Stars: ✭ 10
Programming Languages
javascript
184084 projects - #8 most used programming language
voxel-simplex-terrain
generate voxel terrain using simplex noise
uses the awesome simplex-noise library from @jwagner
this is designed to work out of the box with voxel-engine
install
npm install voxel-simplex-terrain
api
var terrain = require('voxel-simplex-terrain')
// initialize your noise, returns a function
var chunkSize = 32
var chunkDistance = 2
var generator = terrain(chunkDistance, chunkSize)
// the returned function is for getting specific chunks
var chunkData = generator([0,0,0], [32,32,32])
chunk data is returned in the format of the voxel module
license
BSD
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].