forked from kotsoft/particle_based_viscoelastic_fluid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sim_0.html
52 lines (46 loc) · 1.26 KB
/
sim_0.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>PVFS 1 - Simulation Step</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="2000" selected="true">2K</option>
<option value="10000">10K</option>
<option value="100000">100K</option>
<option value="1000000">1M</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_1.html">Next</a>
</p>
</div>
<p>
<button id="collapseButton">Collapse</button>
</p>
</div>
<script src="fpsMonitor.js"></script>
<script src="sim_0.js"></script>
<script src="run_0.js"></script>
</body>
</html>