An open API service indexing awesome lists of open source software.

https://github.com/jiaweihu08/visualizing-sorting-algorithms

Visualizing sorting algorithms using Pygame
https://github.com/jiaweihu08/visualizing-sorting-algorithms

algorithms-and-data-structures bubble-sort heap-sort merge-sort python3 quick-sort

Last synced: 6 months ago
JSON representation

Visualizing sorting algorithms using Pygame

Awesome Lists containing this project

README

          

# Visualizing Sorting Algorithms

![](./sorting.gif)

## Objective:
### Use Pygame to visualize the following sorting algorithms:
#### 1. Merge Sort
#### 2. Heap Sort
#### 3. Quick Sort
#### 4. Bubble Sort

Demo: https://youtu.be/Pcrj5vNqLNY

## How to use:
`pip install -r requirements.txt`

`python sorting.py`

(select the different algorithms to visualize in the main function)