Sorting-Visualizer

It is a python pygame built project sorting algorithms visualizer. Implementing quick sort, merge sort, bubble sort, heap sort, selection sort and insertion sort.

image

Following Buttons can be used to change the size of the array

image

When you press the small(with values) button.

image

When you press the large button.

image

default size is when we started the project.

You can Select any of the following algorithms to visualize them.

image

After clicking the button visualization will start.

sort

Press Stop and Suffel button to stop the algorithm at any time this button can also be used to reshuffle the array.

image

So this is the basic illustration of my project.

How to run it on your PC.

Make sure you are running atleast python 3.7.0

Install using pip:

pip install pygame

Then clone this repository.

git clone https://github.com/sahil1699/Sorting-Visualizer.git

Start Project

In your terminal move to the directory where you have cloned this project. And then type :

python SortingVisulizer.py