forked from Priler/dino3d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (87 loc) · 3.62 KB
/
index.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>T-Rex Run 3D</title>
<!-- Custom CSS -->
<link rel="stylesheet" href="css/style.min.css?patch=3x1">
<!-- Preload -->
<link rel="preload" as="image" href="media/repeat.png" />
<link rel="preload" as="image" href="media/preloader-dino.png">
<link rel="preload" as="image" href="media/3d-title.png">
</head>
<body>
<canvas id="canvas"></canvas>
<video id="webcam" autoplay class="minimize"></video>
<div id="preloader">
<div class="progress">
<div class="chart">
<div id="game-load-progress" class="bar lime bar-0">
<div class="face top">
<div class="growing-bar"></div>
</div>
<div class="face side-0">
<div class="growing-bar"></div>
</div>
<div class="face floor">
<div class="growing-bar"></div>
</div>
<div class="face side-a"></div>
<div class="face side-b"></div>
<div class="face side-1">
<div class="growing-bar"></div>
</div>
</div>
</div>
</div>
</div>
<div id="chrome-no-internet">
<div class="poster"></div>
<h1>No internet</h1>
<div class="info">
<p>Try:</p>
<ul>
<li>Checking the network cables, modem, and router</li>
<li>Reconnecting to Wi-Fi</li>
<li id="game-start" class="game-start hidden">« Play Game »</li>
<li id="game-start-bottom" class="game-start hidden">« Play Game (Bottom camera section) »</li>
</ul>
<small>ERR_LOADING_ASSETS</small>
<small id="game-load-progress">0%</small>
</div>
</div>
<div id="game-restart" class="hidden">
<h1>GAME OVER</h1>
<!--
<img src="media/repeat.png">
-->
</div>
<!-- Require the peer dependencies of pose-detection. -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-converter"></script>
<!-- You must explicitly require a TF.js backend if you're not using the TF.js union bundle. -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-webgl"></script>
<!-- Alternatively you can use the WASM backend: <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm/dist/tf-backend-wasm.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/pose-detection"></script>
<script src="libs/three/three.min.js"></script>
<script src="libs/three/controls/OrbitControls.js"></script>
<script src="libs/three/helpers/CameraHelper.js"></script>
<script src="libs/three/loaders/OBJLoader.js"></script>
<script src="libs/vox/vox.min.js"></script>
<!-- Shaders & Postprocessing -->
<script src="libs/three/postprocessing/EffectComposer.js"></script>
<script src="libs/three/postprocessing/RenderPass.js"></script>
<script src="libs/three/postprocessing/ShaderPass.js"></script>
<script src="libs/three/shaders/CopyShader.js"></script>
<script src="libs/three/shaders/ConvolutionShader.js"></script>
<script src="libs/three/postprocessing/SAOPass.js"></script>
<script src="libs/three/shaders/SAOShader.js"></script>
<script src="libs/three/shaders/DepthLimitedBlurShader.js"></script>
<script src="libs/three/shaders/UnpackDepthRGBAShader.js"></script>
<script src="libs/nebula/three-nebula.js"></script>
<script src="libs/howler/howler.min.js"></script>
<script src="libs/visibly/visibly.js"></script>
<script src="js/config-high.js?patch=3x1"></script>
<script src="js/build.min.js?patch=3x1"></script>
</body>
</html>