-
Notifications
You must be signed in to change notification settings - Fork 97
/
Copy pathindex.html
64 lines (53 loc) · 2.36 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
<!doctype html>
<html lang="en">
<!------------------------------------------------------------------
H E A D
------------------------------------------------------------------>
<head>
<title>TensorFlow.js + WebGL Example</title>
<meta charset="utf-8">
<style>
body {
margin: 0;
background-color: white;
}
canvas {
display: block; /* prevents scrollbar */
width: 100vw;
height: 100vh;
}
</style>
<link rel="stylesheet" href="css/loading1.css" type="text/css">
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-converter"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm/dist/tf-backend-wasm.js"></script>
<script type="text/javascript" src="../third_party/stats.min.js"></script>
<script type="text/javascript" src="../third_party/dat.gui.min.js"></script>
<script type="text/javascript" src="../common/util_tfjs.js"></script>
<script type="text/javascript" src="../common/util_shader.js"></script>
<script type="text/javascript" src="../common/util_matrix.js"></script>
<script type="text/javascript" src="../common/util_texture.js"></script>
<script type="text/javascript" src="../common/util_render2d.js"></script>
<script type="text/javascript" src="../common/util_render_target.js"></script>
<script type="text/javascript" src="../common/util_debugstr.js"></script>
<script type="text/javascript" src="../common/util_pmeter.js"></script>
<script type="text/javascript" src="touch_event.js"></script>
<script type="text/javascript" src="shapes.js"></script>
<script type="text/javascript" src="render_pose3d.js"></script>
<script type="text/javascript" src="tfjs_pose3d.js"></script>
<script type="text/javascript" src="webgl_main.js"></script>
</head>
<!------------------------------------------------------------------
B O D Y
------------------------------------------------------------------>
<body onload="startWebGL();">
<div id="loading">
<div class="spinner"></div>
</div>
<center>
<canvas id="glcanvas"></canvas>
</center>
<div id="debug_log"></div>
</body>
</html>