-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·36 lines (29 loc) · 1.1 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
<!DOCTYPE html>
<meta charset="utf-8">
<title>MMD on WebGL</title>
<script type="text/javascript" charset="utf-8" src="libs/gl-matrix.js"></script>
<script type="text/javascript" charset="utf-8" src="libs/glMatrixUtils.js"></script>
<script type="text/javascript" charset="utf-8" src="libs/sjis.js"></script>
<script type="text/javascript" charset="utf-8" src="MMD.js"></script>
<script type="text/javascript" charset="utf-8" src="main.js"></script>
<html>
<header>
<ul>
<h1>MMD on WebGL</h1>
<li><strong>Left/Right/Up/Down keys</strong> or <strong>Mouse drag</strong>: View angle
<li><strong>Shift+Left/Right/Up/Down keys</strong> or <strong>Shift+Mouse drag</strong>: Center position
<li><strong>PageUp/PageDown keys</strong> or <strong>Mouse wheel</strong>: Distance
<li><strong>Home key</strong>: Back to default position
<li><strong>Space key</strong>: Play/Pause
</ul>
</header>
<body>
</body>
<footer></footer>
</html>
<style>
canvas{
width: 100%;
margin: auto;
}
</style>