panorama-viewer/index.html
2022-10-22 09:53:10 -06:00

18 lines
456 B
HTML

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