Skip to content

SHASHANKBHATT03/Sorting-Algorithm-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Sorting Algorithm Visualizer 🎨

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.


Features

  • Bubble Sort
  • Insertion Sort
  • Selection Sort
  • Merge Sort
  • Quick Sort
  • Heap Sort
  • Radix Sort
  • Ascending/Descending option
  • Adjustable speed

Controls

  • R β†’ Reset list
  • SPACE β†’ Start Sorting
  • A β†’ Sort Ascending
  • D β†’ Sort Descending
  • B β†’ Bubble Sort
  • I β†’ Insertion Sort
  • S β†’ Selection Sort
  • M β†’ Merge Sort
  • Q β†’ Quick Sort
  • H β†’ Heap Sort
  • X β†’ Radix Sort
  • ↑ β†’ Increase speed
  • ↓ β†’ Decrease speed

How to Run

git clone https://github.com/SHASHANKBHATT03/Sorting-Algorithm-Visualizer.git
cd Sorting-Algorithm-Visualizer
pip install -r requirements.txt
python Sorting_Visualizer.py

File Structure

Sorting-Algorithm-Visualizer/ -β”œβ”€β”€ Sorting_Visualizer.py # Main visualizer script -β”œβ”€β”€ requirements.txt # Project dependencies -└── README.md # Project documentation


Demo Video

Sorting.Visualiser_demo.mp4

About

Sorting Algorithm Visualizer is a Python project built with Pygame to visualize sorting algorithms 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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages