Skip to content

Trying to visualize different Sorting Algorithms in Java with Swing. You can change the size of the array and the speed the algorithm sorts the array. Also plays a sound according to the value of the index currently being sorted.

SugerSenpai/SortingAlgorithmVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

SortingAlgorithmVisualizer

This program showcases and visualizes different kinds of Sorting Algorithms.
Currently features:

  • Bubble Sort
  • Quick Sort
  • Selection Sort
  • Insertion Sort
  • Merge Sort

You can change the size of the array and the speed the algorithm sorts the array.
While it iterates through the array the current index which is being sorted is marked green and the index to which it's being compared is shown red.
It also shows additional information like how many times the values in the array were compared or accessed. Now also features piano sounds based on the integer value(the higher the value, the higher the sound)

About

Trying to visualize different Sorting Algorithms in Java with Swing. You can change the size of the array and the speed the algorithm sorts the array. Also plays a sound according to the value of the index currently being sorted.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages