- Introduction
- Features
- Installation
- Sorting Algorithms
The Sorting Algorithm Visualizer is an interactive tool built with Pygame that allows users to visualize and compare various sorting algorithms in real-time. It is a learning tool that helps students and teachers alike to understand how data is manipulated.
- 9 Essential Sorting Algorithms: Bubble Sort, Insertion Sort, Merge Sort, Quick Sort, Selection Sort, Heap Sort, Counting Sort, Radix Sort, and Bucket Sort.
- Real-Time Visualization: Watch how algorithms shape data to achieve sorted order.
- Interactive Controls: Easy-to-use keyboard shortcuts for seamless interaction.
- Python 3.6+
- Pygame Library
-
Clone the Repository:
git clone https://github.com/your-username/sorting-algorithm-visualizer-and-guide.git cd sorting-algorithm-visualize-and-guide
-
Create a Virtual Environment (Optional but Recommended):
python3 -m venv venv source venv/bin/activate
-
Install Dependencies:
pip install -r requirements.txt
-
Run the visualizer Depending on where your main code is:
python <name of file>.py #or if you're using jupyter jupyter notebook sorting_visualizer.ipynb
You're now good to go!