Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 689 Bytes

File metadata and controls

27 lines (20 loc) · 689 Bytes

Sorting Algorithm Visualizer

Visualize 5 sorting algorithms in real-time using Python and Matplotlib.

Algorithms

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

Usage

pip install -r requirements.txt
python visualizer.py bubble
python visualizer.py quick --size 30 --interval 5

Arguments

Argument Description Default
algorithm One of: bubble, selection, insertion, quick, merge required
--size Number of elements 50
--interval Milliseconds between frames 10