-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
81 lines (80 loc) · 2.26 KB
/
index.html
File metadata and controls
81 lines (80 loc) · 2.26 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BubbleSort-Visualization</title>
<link rel="stylesheet" href="./assets/style/style.css" />
</head>
<body>
there are only few function working yet. in this control box.
<div class="tab">
<div class="inputField">
<button class="tablinks" id="toggleButton">Toggle Sorting</button>
<br />
<label for="sortedlinecolor">
Sorted line color:<br />
<input class="tablinks" id="sortedlinecolor" value="red" /> </label
><br />
<label for="lienescolors">
colors of lines:<br />
<input
class="tablinks"
id="linescolors"
type="text"
value="white"
/> </label
><br />
<label for="sizeoflines">
Size of lines:<br />
<input
class="tablinks"
type="range"
id="sizeoflines"
min="0"
max="100"
value="50"
/>
</label>
<label for="numberoflines">
Number of lines:<br />
<input
class="tablinks"
id="numberoflines"
type="range"
min="0"
max="100"
value="50"
/>
</label>
<label for="sizeofcanvas">
Size of canvas(lenght):<br />
<input
class="tablinks"
id="sizeofcanvas"
type="range"
min="0"
max="100"
value="50"
/> </label
><br />
<label for="sizeofcanvas">
Speed of Swap:<span id="showValue">1000</span><br />
<input
class="tablinks"
id="speedofswaping"
type="range"
min="10"
max="1000"
value="200"
/> </label
><br />
</div>
<!-- The main section when all things will heppening -->
<!-- The main section when all things will heppening -->
<canvas id="cvs"></canvas>
</div>
<script src="./assets/js/index.js"></script>
</body>
</html>