Pure Javascript code for loading and rendering STL files.
Uses the Leap Motion (or mouse) to manipulate camera view. The Leap can be used to select individual STL objects (if more than one are loaded) and manipulate that object independently.
Clone this repo and open up index.html in a WebGL enabled browser. To use the Leap Motion control a Leap must be plugged in to the computer. Firefox WebGL info - about:support, Chrome WebGL info chrome://gpu
Watch a demo
- three.js for the ability to render the 3D models in WebGL/Canvas via Javascript
- @tonylukasavage for jsstl
- TorstenSprenger for threeleapcontrols
Licensed under the Apache License, Version 2.0 (the "License");