This project is a Sorting Algorithm Visualizer built using Pygame. It visually represents the step by step process of sorting algorithms, making it a great tool for understanding how these algorithms work.
- Visualizes the Bubble Sort algorithm in real-time.
- Dynamic bar heights generated randomly for each session.
- Adjustable screen dimensions, bar width, and sorting speed for customization.
- Programming Language: Python
- Graphics Library: Pygame
-
Clone the repository:
git clone <Repo> cd <YourSortingVisualizerRepo>
-
Install the required libraries:
Ensure you have Python installed, then install Pygame:pip install pygame
-
Run the visualizer:
python visualizer.py
visualizer.py: Contains the main visualizer logic and Bubble Sort implementation.sortingAlgorithms.py: Extendable module for additional sorting algorithms.