Sort-Algorithm-Visualiser icon indicating copy to clipboard operation
Sort-Algorithm-Visualiser copied to clipboard

A sort algorithm visualisation GUI, created using Java and the Swing framework.

Sort Algorithm Visualiser

A simple program to visualise sort algorithms written in java, using Swing for graphics

Build and Run

git clone https://github.com/Hopson97/Sort-Algorithm-Visualiser.git
cd Sort-Algorithm-Visualiser
gradle run

Features

For now, this just shows a bunch of sorting algorithms, one after the other:

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

screenshot

Javadoc

git clone https://github.com/Hopson97/Sort-Algorithm-Visualiser.git
cd Sort-Algorithm-Visualiser
gradle javadoc

Then open build/docs/javadoc/index.html file.

Special Thanks

sackerm - Improved the rendering code to allow for varying sized windows and other improvements. Also fixed several bugs, such as a white bar appearing at the top of the window when swtiching screens.

Wabri/ Gabriele Puliti - Added JavaDocs to lots of places in the code.