Skip to content

flameguy150/sort_algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Sorting Algorithm Visualizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages