polywolf

Web model viewer that runs entirely on javascript and WebGL 2.0. It is easy to use. Get started by

Install

npm install polywolf

then include within html

<script type='module'src="node_modules/polywolf/polywolf.min.js" defer></script>

Usage

<div is="poly-wolf" url="PATH_TO_MODEL" width="CANVAS_WIDTH" height="CANVAS_HEIGHT"/>
or
var element = document.createElement('poly-wolf');
element.setAttribute('url', 'PATH_TO_MODEL');
element.setAttribute('height', '500');
element.setAttribute('width', '500');
document.body.appendChild(element);
                

Examples

Boom Box

Damaged Helmet

Architecture

Gun

Character