Go to file
2020-08-22 00:20:41 +02:00
build Initial commit 2020-08-22 00:20:41 +02:00
models Initial commit 2020-08-22 00:20:41 +02:00
scripts Initial commit 2020-08-22 00:20:41 +02:00
stylesheets Initial commit 2020-08-22 00:20:41 +02:00
.gitignore Initial commit 2020-08-22 00:20:41 +02:00
.nojekyll Initial commit 2020-08-22 00:20:41 +02:00
index.html Initial commit 2020-08-22 00:20:41 +02:00
Makefile Initial commit 2020-08-22 00:20:41 +02:00
README.md Initial commit 2020-08-22 00:20:41 +02:00

stl_web_viewer2

Demo: https://brentyi.github.io/stl_web_viewer2/

Friendly utility for embedding 3D models into webpages.

Basically the same as the original, but with less nodejs nonsense.

Usage:

<!doctype html>
<html>
  <head>
    <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/106/three.min.js" integrity="sha256-tAVw6WRAXc3td2Esrjd28l54s3P2y7CDFu1271mu5LE=" crossorigin="anonymous"></script>
    <link rel="stylesheet" href="https://brentyi.github.io/stl_web_viewer2/build/stlwebviewer2.css" />
  </head>
  <body>
    <div class="stlwv2-model" data-model-url="models/planet_gear.stl"></div>
    <script src="https://brentyi.github.io/stl_web_viewer2/build/stlwebviewer2.js"></script>
  </body>
</html>