This project is a visualization tool created to demonstrate various sorting algorithms. The tool helps the user to better understand the sorting process by showing the steps of the selected sorting algorithm in a step-by-step manner.
- Visualization of various sorting algorithms (e.g., Bubble Sort, Selection Sort, Quick Sort, etc.).
- Generating a random array or sorting a user-defined array.
- Adjusting the speed of the sorting process.
- Navigating step-by-step sorting process.
- Verifying the sorted result array.
To run this project, you need the following requirements:
-
Clone this repository to your local machine:
git clone https://github.com/kaaneser/sorting-visualizer.git
-
Navigate to the project directory:
cd sorting-visualizer
-
Install utils module
pip install utils
-
Run project
python main.py
-
After opening the project, the sorting visualization interface will be displayed.
-
Use the dropdown menu in the top left corner to select a sorting algorithm.
-
You can click the "Randomize" button to generate a random array. Additionally, you can manually arrange the array by clicking on each bar.
-
Click the "Sort" button to start the sorting process.
-
While the sorting process is ongoing, you can adjust the speed using the "Speed" slider.
-
You can pause or reset the proccesses