-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
85 lines (74 loc) · 2.44 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
<html>
<head>
<link rel="stylesheet" href="./src/css/css.css">
<script language=" javascript" type="text/javascript" src="lib/p5.js"></script>
<script language=" javascript" type="text/javascript" src="src/js/maze.js"></script>
<script language=" javascript" type="text/javascript" src="src/js/sketch.js"></script>
</head>
<body>
<div id="mazeCanvas"></div>
<div id="parameters">
<!-- GLOBAL SETTINGS -->
<div class="settings">
<div class="option">
<span id="step"></span>
</div>
<div class="option">
<label for="sizeSlider">Size : </label>
<span id="sizeSlider"></span>
<span id="sizeDisplay"></span>
</div>
<div class="option">
<label for="sideSizeSlider">Side size : </label>
<span id="sideSizeSlider"></span>
<span id="sideSizeDisplay"></span>
</div>
<div class="option">
<span id="checkboxComplex"></span>
</div>
<div class="option">
<button type="button" id="reload" onclick="regenMaze();">Reload!</button>
</div>
</div>
<!-- COLOR SETTINGS -->
<div class="settings">
<div class="option-c">
<span style="color: red;">Red</span>
<span id="checkColor0"></span>
<div class="slider">
<label for="sliderColor0">Value : </label>
<span id="sliderColor0"></span>
<span id="displayColor0"></span>
</div>
</div>
<div class="option-c">
<span style="color: green;">Green</span>
<span id="checkColor1"></span>
<div class="slider">
<label for="sliderColor1">Value : </label>
<span id="sliderColor1"></span>
<span id="displayColor1"></span>
</div>
</div>
<div class="option-c">
<span style="color: blue;">Blue</span>
<span id="checkColor2"></span>
<div class="slider">
<label for="sliderColor2">Value : </label>
<span id="sliderColor2"></span>
<span id="displayColor2"></span>
</div>
</div>
<div class="option">
<button type="button" onclick="redrawMaze();">Re-Draw!</button>
</div>
</div>
<!-- ANIMATION SETTINGS -->
<div class="settings">
<div class="option">
Soon !
</div>
</div>
</div>
</body>
</html>