Metamask Logo
A browserifyable 3d metamask logo. Live demo.
This repo can both be included as a browserifiable module, and includes a sample app.
The sample app address is index.html
.
The sample app javascript is bundle.js
, which is built from sample.js
using the build
task (see the package.json
).
API
var ModelViewer = // To render with fixed dimensions:var viewer = // add viewer to DOMvar container = documentcontainer // look at something on the pageviewer // enable mouse followviewer // deallocate nicelyviewer
Running Example
First, rebuild browserify example/example.js -o bundle.js
.
Then, run a local server in this folder and visit it. For example, http-server
.