Skip to content

axtheon/Sorting-Algorithms-Visualizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Algorithms Visualizer

An educational application developed in Python using the game development library Pygame, which helps illustrate how a variety of sorting algorithms function in real-time by making visual adjustments to the bars as the algorithms perform the calculations.

Features

  • 9 Sorting Algorithms: Bubble Sort, Bucket Sort, Cocktail Sort, Counting Sort, Heap Sort, Insertion Sort, Merge Sort, Quick Sort, and Selection Sort
  • Real-time Visualization: See each algorithm's step-by-step execution
  • Educational: Perfect for students learning algorithms and data structures
  • Interactive: Built with Pygame for smooth animations

Getting Started

Prerequisites

  • Python 3.x
  • pip (Python package installer)

Installation

  1. Clone the repository:

git clone https://github.com/LucasPilla/Sorting-Algorithms-Visualizer.git cd Sorting-Algorithms-Visualizer

  1. Install dependencies:

pip install -r requirements.txt

  1. Run the visualizer:

python3 src/main.py

Preview

Watch the algorithms in action:

Bubble Sort
Bubble Sort
Bucket Sort
Bucket Sort
Cocktail Sort
Cocktail Sort
Counting Sort
Counting Sort
Heap Sort
Heap Sort
Insertion Sort
Insertion Sort
Merge Sort
Merge Sort
Quick Sort
Quick Sort
Selection Sort
Selection Sort

Contributing

Contributions are welcome! Please check out our Contributing Guidelines to get started.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Built with Pygame
  • Inspired by the need to make algorithm learning more visual and intuitive

Support

If you find this project helpful, please consider giving it a ⭐️ on GitHub!

About

An educational tool for visualizing sorting algorithms.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%