-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathattract.html
32 lines (32 loc) · 960 Bytes
/
attract.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script type="module" src="include/model-viewer.js"> </script>
<script src="include/util.js"></script>
<link rel="stylesheet" href="include/style.css">
<title>Document</title>
</head>
<body class='hidden'>
<div class='wrapper'>
<div id='header' class='flex-1 instructions'>Touch the screen to begin</div>
<model-viewer class='flex-8'
src='assets/artifact.glb'
background-color='#000000'
auto-rotate
></model-viewer>
<div id='footer' class='flex-2 info'></div>
</div>
<script>
document.addEventListener('mousedown', (e) => {
document.getElementsByTagName('body')[0].className = 'hidden';
setTimeout(() => {
window.location.href = 'viewer.html?artifact=clarksville-point';
}, 1000);
});
fade_in();
ROTATE_TIMER = 0;
</script>
</body>
</html>