panorama-viewer/index.html

18 lines
456 B
HTML
Raw Normal View History

2022-10-22 15:06:40 +00:00
<!DOCTYPE html>
<html>
<head>
<script type="module" src="panorama-viewer.js"></script>
<script type="module">
2022-10-22 15:53:10 +00:00
import { render } from "./panorama-viewer.js";
window.addEventListener("load", () => {
let viewer = document.getElementById("viewer");
render(viewer);
});
2022-10-22 15:06:40 +00:00
</script>
</head>
<body>
<h1>Panorama Viewer</h1>
2022-10-22 15:53:10 +00:00
<canvas id="viewer"></canvas>
2022-10-22 15:06:40 +00:00
<img height="400" width="800" src="Provo_River_Falls_360.JPG">
</body>
</html>