xeometry is an open source (MIT) JavaScript library from @xeographics for viewing and interacting with 3D glTF models on WebGL.

Use it to build 3D viewer apps and custom interactive presentations of glTF content, or as a boilerplate to bootstrap the development of your own 3D viewer.

var viewer = new xeometry.Viewer({ canvasId: "theCanvas" });

viewer.loadModel("saw", "models/Reciprocating_Saw.gltf", function () {
     viewer.setOpacity(["saw#0", "saw#1", "saw#2", "saw#3", "saw#11"], 0.3);

[ Run this example ]