diff Sources/viewer.html @ 0:4e889a8e8be2

initial commit of the viewer plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Jul 2023 19:15:27 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Sources/viewer.html	Tue Jul 04 19:15:27 2023 +0200
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <title>Orthanc STL viewer</title>
+    <style>
+      body { margin: 0; }
+    </style>
+  </head>
+  <body>
+    <script async src="es-module-shims.js"></script>
+
+    <script type="importmap">
+      {
+        "imports": {
+          "three": "./three.module.min.js"
+        }
+      }
+    </script>
+
+    <script type="module" src="./viewer.js"></script>
+  </body>
+</html>