Skip to content

A Python application using Pygame for visualizing various sorting algorithms.

License

Notifications You must be signed in to change notification settings

jian-li1/sort-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sort Visualizer in Python

A Python application using Pygame for visualizing various sorting algorithms.

Screen Shot 2023-03-10 at 10 56 59 PM

Screen Shot 2023-03-06 at 11 44 13 PM

Sorting Algorithms include:

  • Bubble Sort
  • Selection Sort
  • Insertion Sort
  • Merge Sort
  • Quick Sort

Usage

If your system doesn't have Python installed already, install it here.

Once you have Python installed, you need to install the Pygame library:

pip install pygame

Run this command to run the program:

python main.py

Download

Note: Some browsers (such as Google Chrome) might mistakenly block the file when it's downloaded. In this case you want to click on "Continue" or "Keep" after the file is downloaded.

Windows -> Download

MacOS -> Download

Note: macOS might block the application from opening so you need to go to System Preferences -> Security and Privacy -> General and click on "Open anyway"