-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (86 loc) · 4.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
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>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4HHP888F7Y"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-4HHP888F7Y');
</script>
<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>See-Sort - A Sorting Visualizer</title>
<link rel="stylesheet" href="/assets/index-73aa5528.css">
</head>
<body>
<nav class="flex place-content-between">
<div>
<a href="#">
<p class="text-white font-sans p-2 px-2 text-lg">
See-Sort - A Sorting Visualizer
</p>
</a>
</div>
<div>
<a href="https://github.com/deepencoding/See-Sort">
<p class="text-white m-1 p-1 px-2 text-lg underline underline-offset-2 text-right hover:text-black">
Code
</p>
</a>
</div>
</nav>
<div id="sorting" class="flex-container flex rotate-180 mt-5 flex-nowrap w-full justify-center">
</div>
<div class="flex range-input box-border mt-1" id="input-panel">
<span id="size" class="label">Size
<input id="size_input" type="range" value="50" min="1" max="100" class="ml-6"/>
</span>
<span id="speed" class="label">Speed
<input id="speed_input" type="range" min="20" max="300" value="60" class="ml-6"/>
</span>
</div>
<div class="flex justify-center text-base mb-4">
<button type="button" class="new mr-2 text-white bg-green-700 hover:bg-green-800 focus:outline-none focus:ring-4 focus:ring-green-300 font-medium rounded-full text-sm px-5 py-2.5 text-center mb-2 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800">
Generate New Array
</button>
<button type="button" class=" stop ml-1 text-white bg-yellow-400 hover:bg-yellow-500 focus:outline-none focus:ring-4 focus:ring-yellow-300 font-medium rounded-full text-sm px-5 py-2.5 text-center mr-2 mb-2 dark:focus:ring-yellow-900" disabled="true">
Stop Sorting
</button>
</div>
<div class="flex justify-center" id="control-panel">
<div>
<button type="button" class="text-white bg-gradient-to-r from-blue-500 via-blue-600 to-blue-700 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-blue-300 dark:focus:ring-blue-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center mr-2 mb-2 bubbleSort">
Bubble Sort
</button>
<button type="button" class="text-white bg-gradient-to-r from-green-400 via-green-500 to-green-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-green-300 dark:focus:ring-green-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center mr-2 mb-2 mergeSort">
Merge Sort
</button>
</div>
<div>
<button type="button" class="text-white bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-teal-300 dark:focus:ring-teal-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center mr-2 mb-2 selectionSort">
Selection Sort
</button>
<button type="button" class="text-gray-900 bg-gradient-to-r from-lime-200 via-lime-400 to-lime-500 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-lime-300 dark:focus:ring-lime-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center mr-2 mb-2 quickSort">
Quick Sort
</button>
</div>
<div>
<button type="button" class="text-white bg-gradient-to-r from-red-400 via-red-500 to-red-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center mr-2 mb-2 insertionSort">
Insertion Sort
</button>
<button type="button" class="text-white bg-gradient-to-r from-pink-400 via-pink-500 to-pink-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-pink-300 dark:focus:ring-pink-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center mr-2 mb-2 heapSort">
Heap Sort
</button>
</div>
</div>
<script async defer src="/app.js"></script>
<script async defer src="/Algos/bubbleSort.js"></script>
<script async defer src="/Algos/heapSort.js"></script>
<script async defer src="/Algos/insertionSort.js"></script>
<script async defer src="/Algos/mergeSort.js"></script>
<script async defer src="/Algos/quickSort.js"></script>
<script async defer src="/Algos/selectionSort.js"></script>
</body>
</html>