Skip to content

BijanRegmi/Sort-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sort Visualizer

Visualization and Audibilization of different sorting algorithms.

Building

  1. Clone the repository
git clone --recursive https://github.com/BijanRegmi/Sort-Visualizer.git
  1. Install dependencies

SFML

  1. Compile and run
mkdir bin && make run

KeyBindings

Window

KEY ACTION
Escape Close the window

Modes

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

Delay

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

Misc

KEY ACTION
Space Start the currently selected algorithm
Up_Arrow Cycle through modes in forward direction
Down_Arrow Cycle through modes in reverse direction

Algorithms included

  • Bubblesort
  • Mergesort
  • Quicksort
  • Radixsort
  • InsertionSort
  • SelectionSort
TODO
Add more sorting algorithms

About

Visualization and audibilization of different sort algorithms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published