Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 961 Bytes

File metadata and controls

59 lines (47 loc) · 961 Bytes

Sorting algorithm visualizer in pygame

Screenshot 2025-03-04 150314

Controls

R: Shuffle
M: MergeSort
B: BubbleSort
I: InsertionSort
S: SelectionSort
A: AutoSort
↑: Increase FPS
↓: Decrease FPS

Run using precompiled executable

  1. Clone the repository
git clone https://github.com/yourusername/sort_algo.git
cd sort_algo
  1. Go into the dist/ folder and click on sorter.exe!
sorter.exe

Run locally from Source (Python)

  1. Clone the repository
git clone https://github.com/flameguy150/sort_algo.git
cd sort_algo
  1. Create and activate a virtual environment
py -m venv .venv

(PowerShell)
.\.venv\Scripts\Activate.ps1

(Mac/Linux)
source .venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run file
windows: py main.py
mac: python3 main.py