-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
82 lines (82 loc) · 3.3 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
<!doctype html>
<html lang="en">
<head>
<title>Voxel Island</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div id="wrapper">
<div id="canvas-wrapper">
<div id="div-renderer"></div>
<canvas id="renderer-webgl"></canvas>
<canvas id="renderer-2d"></canvas>
</div>
<div id="loader">
<div id="loaded"></div>
</div>
<div id="controls-wrapper">
<div id="controls">
<table>
<tr>
<td>Quality:</td>
<td>
<label>
<select onchange="scale = this.value; updateParameters(); replan()">
<option value="4">Very low</option>
<option value="3">Low</option>
<option value="2.5">Medium</option>
<option selected="selected" value="2">High</option>
<option value="1.5">Very high</option>
</select>
</label>
</td>
</tr>
<tr>
<td>Render mode: </td>
<td>
<label>
<select onchange="renderer.setType(this.value); updateParameters()">
<option selected="selected" value="canvas">Canvas</option>
<option id="option-webgl" value="webgl">WebGL 2</option>
<option value="css">CSS</option>
</select>
</label>
</td>
</tr>
<tr>
<td></td>
<td>
<button onclick="replan()">Generate</button>
</td>
</tr>
</table>
</div>
</div>
</div>
<script src="js/sprocket.js"></script>
<script src="js/loader.js"></script>
<script src="js/bufferedCubicNoise.js"></script>
<script src="js/vector3.js"></script>
<script src="js/styleUtils.js"></script>
<script src="js/color.js"></script>
<script src="js/gradient.js"></script>
<script src="js/shape/bounds.js"></script>
<script src="js/shape/sample.js"></script>
<script src="js/shape/shapeCone.js"></script>
<script src="js/shape/shapeCylinder.js"></script>
<script src="js/shape/shapeHeightmap.js"></script>
<script src="js/shapes.js"></script>
<script src="js/lighting.js"></script>
<script src="js/plan/heightmap.js"></script>
<script src="js/plan/trees.js"></script>
<script src="js/plan/village.js"></script>
<script src="js/plan/plan.js"></script>
<script src="js/layer.js"></script>
<script src="js/island.js"></script>
<script src="js/renderer/rendererCanvas.js"></script>
<script src="js/renderer/rendererCSS.js"></script>
<script src="js/renderer/rendererWebGL.js"></script>
<script src="js/renderer/renderer.js"></script>
<script src="js/main.js"></script>
</body>
</html>