Mercurial > hg > orthanc-stl
diff WebApplications/three.html @ 36:13698d34e059
preparing to include O3DV
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Apr 2024 07:42:06 +0200 |
parents | Sources/viewer.html@4e889a8e8be2 |
children | b798387b085c |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebApplications/three.html Fri Apr 05 07:42:06 2024 +0200 @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Orthanc STL viewer (Three)</title> + <style> + body { margin: 0; } + </style> + </head> + <body> + <script async src="libs/es-module-shims.js"></script> + + <script type="importmap"> + { + "imports": { + "three": "./libs/three.module.min.js" + } + } + </script> + + <script type="module" src="./three.js"></script> + </body> +</html>