Table of Contents
Sorting Visualizer
A simple graphical sorter written in Python with Pygame where you can visualize many algorithms and see how they actually work.
You can adjust the speed using → or ← and shuffle the array at the end of the sorting to restart the algorithm by pressing SPACE. Finally, press ESC to exit.
I will add more algorithms when I have time.
How to use
Just launch the main.py
, choose your algorithm and the size of the array to sort. When the Pygame window gets opened, press SPACE to start the algorithm.
Known issues
- Nothing yet!
Demo
Quick Sort - Randomized Array
Merge Sort - Randomized Array
Heap Sort - Randomized Array
Support 👨💻
Any problems with running the script and any questions please create a new issue here.
You can also contribute to this project by requesting new features here.
I never ask for money for my open source projects. However, you can still tip me if you want. I am a Brave Verified Creator!
Prerequisites
- Python 3.7.0+
Get a copy of the Project. Assuming you have git installed, open your Terminal and enter:
To install all needed requirements run the following command in the project directory:
Running 🏃
After that you can proceed to start the program by running main.py
.
TO-DO List
- Nothing yet.
Authors
- Marc Pinet - Initial work - marcpinet
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Hat tip to anyone whose code was used.