glo-demo-primitive

2.0.1 • Public • Published

glo-demo-primitive

experimental

A tiny mesh visualizer. This module will evolve and change as the glo ecosystem matures.

Usage

NPM

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 for details.

Package Sidebar

Install

npm i glo-demo-primitive

Weekly Downloads

3

Version

2.0.1

License

MIT

Last publish

Collaborators

  • mattdesl