Skip to content

Using the pygame module in python to create a visual representation of the various sorting algorithms

License

Notifications You must be signed in to change notification settings

Phoenix-031/Algorithm_visualiser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I made a Algorithm Visualiser with the help of pygame module in python, contains mostly all the famous sorting algorithms.

alt-text

➡️ Getting Started

  • Fork this repository and clone it.
  • Run the Python file visualiser.py
  • And then you are good to proceed and visually enjoy the different sorting algorithms.

<----💡 Algorithms implemented 💡---->

➡️ 1.

Bubblesort-compressed.mp4

➡️ 2.

Selectionsort-compressed.mp4

➡️ 3.

insertionsort-compressed.mp4

➡️ 4.

mergesort-compressed.mp4

➡️ 5.

quicksort-compressed.mp4

➡️ 6.

combsort-compressed.mp4

➡️ 7.

shellsort-compressed.mp4

➡️ 8.

cocktailsort-compressed.mp4


*Note: U can change the number of bars that appear by changing the value of (n) in the main_loop function

So Select the Algorithm and hit the SPACE and enjoy!!

💡 Links 💡

About

Using the pygame module in python to create a visual representation of the various sorting algorithms

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages