-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (77 loc) · 2.45 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="css/index.css"/>
</head>
<body>
<div class="viewport"></div>
<div id="GUI">
<p class="cText">Segments</p>
<select class="cSelector" id="segments">
<option value="32">32</option>
<option selected value="64">64</option>
<option value="128">128</option>
</select>
<br><br>
<p class="cText">Size</p>
<select class="cSelector" id="size">
<option value="256">256</option>
<option value="512">512</option>
<option selected value="1024">1024</option>
<option value="2048">2048</option>
<option value="4096">4096</option>
<option value="8192">8192</option>
</select>
<br><br>
<p class="cText">Magnitude</p>
<select class="cSelector" id="magnitude">
<option value="128">128</option>
<option value="256">256</option>
<option value="512">512</option>
<option selected value="1024">1024</option>
<option value="2048">2048</option>
<option value="4096">4096</option>
<option value="8192">8192</option>
</select>
<br><br>
<p class="cText">Shadows</p>
<form>
<input class="cCheckBox" type="checkbox" id="shadows" value="true"> On<br>
</form>
<br>
<p class="cText">SSAO</p>
<form>
<input class="cCheckBox" type="checkbox" id="ssao" value="true"> On<br>
</form>
<br>
<p class="cText">Seed</p>
<textarea class="cTextArea" rows="1" cols="9" id="seed">1234567890
</textarea>
<br><br>
<button class="cButton" onclick="main()">Generate</button>
<br><br>
<p class="cText">Controls:<br>
W, A, S, D
<br>
Space
<br>
Shift</p>
</div>
<script src="js/external/three.min.js"></script>
<script src="js/external/MersenneTwister.js"></script>
<script src="js/external/PointerLockControls.js"></script>
<script src="js/external/SSAOShader.js"></script>
<script src="js/external/CopyShader.js"></script>
<script src="js/external/EffectComposer.js"></script>
<script src="js/external/RenderPass.js"></script>
<script src="js/external/ShaderPass.js"></script>
<script src="js/external/MaskPass.js"></script>
<script src="js/cacti.js"></script>
<script src="js/ssao.js"></script>
<script src="js/controls.js"></script>
<script src="js/diamondSquare.js"></script>
<script src="js/main.js"></script>
</body>
</html>