Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (12 sloc) 391 Bytes

view for voxeljs

this module handles a lot of the boilerplate involved with setting up three.js


npm install voxel-view


var voxelView = require('voxel-view')
var view = voxelView(THREE, { width: 500, height: 500 })

note: you have to pass in your own existing three.js instance since three.js breaks if you try to require() it more than once

Something went wrong with that request. Please try again.