-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
66 lines (60 loc) · 1.92 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
<!DOCTYPE html>
<html>
<head>
<title>Eller's algorithm example</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<style type="text/css">
body {
color: grey;
font-family: "Lucida Sans Unicode", Lucida Grande, sans-serif;
margin: 0px 0px;
padding: 0px 0px;
}
#header {
width: 800px;
margin: 5px auto;
}
.blue {
color: cornflowerblue;
padding-left: 2em;
padding-right: 2em;
opacity: 0.5;
}
#viewport {
border: 2px solid grey;
border-radius: 5px;
background-color: cornflowerblue;
width: 1024px;
height: 768px;
margin: 0 auto;
padding: 0;
}
</style>
<!--change src to point to your own local copy of three.js-->
<script src="build/three.js">
</script>
<script src="js/controls/FlyControls.js"></script>
<script src="js/Set.js"></script>
<script src="js/render.js "></script>
<script src="js/a_star.js "></script>
<script src="js/solve.js "></script>
</head>
<!-- <body onload="initialize();"> -->
<body>
<script src="js/eller.js"></script>
<div id="header">
<h3>Basic Scene with flying camera</h3>
<p>
Move: w a s d r f<span class="blue">|</span> Look: arrow keys / drag mouse<span class="blue">|</span> Roll: q e
</p>
<input id="inputRowNumber" type="text" placeholder="Row number">
<input id="inputColumnNumber" type="text" placeholder="Column number">
<input id="inputHorizontalBias" type="text" placeholder="Horizontal bias">
<input id="inputVerticalBias" type="text" placeholder="Vertical bias">
<input onclick="eller()" type="submit" value="Create maze">
</div>
<div id="viewport"></div>
<p id="camera_stuff">
</p>
</body>
</html>