view Sources/viewer.html @ 10:549ba7ada071

make the viewer use the /instances/.../stl route
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Jul 2023 12:34:32 +0200
parents 4e889a8e8be2
children
line wrap: on
line source

<!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>