Sorting Algorithm Visualizer is a Python project built with Pygame to visualize how different sorting algorithms work step by step. It supports Bubble, Insertion, Selection, Merge, Quick, Heap, and Radix Sort, with options for ascending/descending order, adjustable speed, and reset.
A simple and beginner-friendly way to learn sorting.
- Bubble Sort
- Insertion Sort
- Selection Sort
- Merge Sort
- Quick Sort
- Heap Sort
- Radix Sort
- Ascending/Descending option
- Adjustable speed
R→ Reset listSPACE→ Start SortingA→ Sort AscendingD→ Sort DescendingB→ Bubble SortI→ Insertion SortS→ Selection SortM→ Merge SortQ→ Quick SortH→ Heap SortX→ Radix Sort↑→ Increase speed↓→ Decrease speed
git clone https://github.com/SHASHANKBHATT03/Sorting-Algorithm-Visualizer.git
cd Sorting-Algorithm-Visualizer
pip install -r requirements.txt
python Sorting_Visualizer.pySorting-Algorithm-Visualizer/ -├── Sorting_Visualizer.py # Main visualizer script -├── requirements.txt # Project dependencies -└── README.md # Project documentation