-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (38 loc) · 1.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Activity 2 Haoyu Wei</title>
</head>
<!-- Create the HTML5 'canvas' element in which we will run WebGL
-->
<body onload="main()">
<canvas id="webgl" width="600" height="600">
Please use a browser that supports "canvas"
</canvas>
<br>
<b>Particle System Controls:</b>
<br>
<b>r/R key:</b> add random speed.
<b>Space-bar:</b> single-step.
<b>p or P key:</b> pause/resume.
<br>
<p>
<b>'WASD'</b> keys to change camera lookat directions. <br>
<b>'+-'</b> keys to go forward or backward in gaze direction. <br>
<b>Arrow</b> keys to move camera positions.
<b>Drag mouse</b> to move green constraint ball.
</p>
<script src="./lib/webgl-utils.js"></script>
<script src="./lib/webgl-debug.js"></script>
<script src="./lib/cuon-utils.js"></script>
<script src="./lib/cuon-matrix-quat03.js"></script>
<script type="text/javascript" src="./lib/dat.gui.min.js"></script>
<script src="./js/CPartSys.js"></script>
<script src="./js/CPart.js"></script>
<script src="./js/CForcer.js"></script>
<script src="./js/CWall.js"></script>
<script src="./js/VBO-Lib.js"></script>
<script src="./js/StateSpaceBouncyBall3D.js"></script>
</body>
</html>