-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
sim_1.html
58 lines (48 loc) · 1.31 KB
/
sim_1.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>PVFS 2 - Double Density Relaxation</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<canvas id="simCanvas"></canvas>
<div id="overlay">
<div id="controls">
<p id="fps">FPS: 0</p>
<p>
<label for="numParticles"># Particles:</label>
<select name="numParticles" id="numParticles">
<option value="1000">1K</option>
<option value="2000" selected="true">2K</option>
<option value="3000">3K</option>
<option value="4000">4K</option>
</select>
</p>
<p>
<button id="startButton">Start</button>
<button id="pauseButton">Pause</button>
<button id="stepButton">Step</button>
<button id="resetButton">Reset</button>
</p>
<p>
<small>
You can drag window around.
</small>
</p>
<p>
<a href="sim_0.html">Prev</a>
|
<a href="sim_2.html">Next</a>
</p>
</div>
<p>
<button id="collapseButton">Collapse</button>
</p>
</div>
<script src="fpsMonitor.js"></script>
<script src="sim_1.js"></script>
<script src="run_0.js"></script>
</body>
</html>