glo-demo-primitive
Version:
a quick mesh viewer using glo modules
24 lines (15 loc) • 678 B
Markdown
# glo-demo-primitive
[](http://github.com/badges/stability-badges)
A tiny mesh visualizer. This module will evolve and change as the `glo` ecosystem matures.
## Usage
[](https://www.npmjs.com/package/glo-demo-primitive)
```js
var geom = require('primitive-sphere')()
var viewer = require('glo-demo-primitive')
viewer(geom, {
texture: true, // add a simple repeating pattern
repeat: [ 8, 8 ] // UV repeats
}).start()
```
## License
MIT, see [LICENSE.md](http://github.com/glo-js/glo-demo-primitive/blob/master/LICENSE.md) for details.