Visualization and Audibilization of different sorting algorithms.
Clone the repository
git clone --recursive https://github.com/BijanRegmi/Sort-Visualizer.git
Install dependencies
SFML
Compile and run
KEY
ACTION
Escape
Close the window
KEY
ACTION
C
Switch to check mode
S
Switch to shuffle mode
B
Set Bubble Sort as selected algorithm
M
Set Merge Sort as selected algorithm
Q
Set Quick Sort as selected algorithm
R
Set Radix Sort as selected algorithm
I
Set Insertion Sort as selected algorithm
Shift S
Set selection Sort as selected algorithm
Shown as (Reading delay, Writing delay) in status bar
KEY
ACTION
+
Increase reading delay by 100μs
-
Decrease reading delay by 100μs
Ctrl +
Increase reading delay by 1000μs
Ctrl -
Decrease reading delay by 1000μs
Shift +
Increase writing delay by 100μs
Shift -
Decrease writing delay by 100μs
Ctrl Shift +
Increase writing delay by 1000μs
Ctrl Shift -
Decrease writing delay by 1000μs
0
Set delay to 0μs
KEY
ACTION
Space
Start the currently selected algorithm
Up_Arrow
Cycle through modes in forward direction
Down_Arrow
Cycle through modes in reverse direction
Bubblesort
Mergesort
Quicksort
Radixsort
InsertionSort
SelectionSort
Add more sorting algorithms