Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

glo-demo-primitive

glo-js62MIT2.0.1

a quick mesh viewer using glo modules

glo, mesh, view, viewer, quick, demo

readme

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.