Skip to content

🧮 A simple sorting algorithm visualizer written in Python with Pygame (with a lot of algorithms to observe).

License

Notifications You must be signed in to change notification settings

marcpinet/sort-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Visualizer

Maintenance made-with-python Windows Ask Me Anything !

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

Quick.Sort.mp4

Merge Sort - Randomized Array

Merge.Sort.mp4

Heap Sort - Randomized Array

Heap.Sort.mp4

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:

git clone 'https://github.com/marcpinet/sorting-visualizer.git'

To install all needed requirements run the following command in the project directory:

pip install -r requirements.txt

Running 🏃

After that you can proceed to start the program by running main.py.

TO-DO List

  • Nothing yet.

Authors

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.

About

🧮 A simple sorting algorithm visualizer written in Python with Pygame (with a lot of algorithms to observe).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages