THREE.js geometry for the Wittgenstein project
package.json
dependency:"three-hexagon": "[email protected]:Ibuprofen/three-hexagon.git"
or (not likely in npm)npm install --save witt-geometry
import WittgensteinGeometry from 'witt-geometry'
let witt = new WittgensteinGeometry(<radius>, <depth>, <fanDistance>, <hexFaces>)
- Clone repo.
npm install
npm run watch
In another project:
- Point to this repo in
package.json
, either withnpm link
or using the full path. npm install witt-geometry