view functionality for voxeljs
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.js
package.json

README.md

view for voxeljs

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

installation

npm install voxel-view

usage

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