Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including voxel-tower with all npm packages installed. Try it out:

var voxelTower = require("voxel-tower")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

voxel-tower v0.0.1

an example/template node module for voxel.js. makes a tower of voxels.


an example/template node module for voxel.js.

places a tower of voxels at some specific game position.

install it

npm install voxel-tower


var tower = require('voxel-tower')(game, options)

pass in your voxel-engine instance as game. options is an optional object that defaults to:

  "height": 5,
  "material": "brick"

places your tower at some position. position is an array vector game position, e.g. [1, 1, 1]



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free