Skip to content

Visioness/sorting-algorithm-visualizer

Repository files navigation

Sorting Algorithm Visualizer 📊

Video Demo

https://www.youtube.com/watch?v=PI02UYAqdxc

Overview

Welcome to the Sorting Algorithm Visualizer project! This tool is designed to help you explore and understand how various sorting algorithms work. Sorting algorithms are fundamental to computer science and play a crucial role in organizing data efficiently.

By visualizing sorting algorithms, this project provides an interactive way to comprehend their inner workings. You can observe how different algorithms manipulate and rearrange elements to achieve a sorted list.

Whether you're a beginner learning about sorting algorithms or an experienced developer seeking to deepen your understanding, this visualizer offers an engaging way to explore the world of sorting.

Features

Supported Algorithms

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

Supported List Sizes

  • 10
  • 30
  • 50
  • 80
  • 100
  • 200

How to Run

  1. Setup:

    • Ensure Python is installed on your system.
    • Clone this repository to your local machine.
  2. Run the Program:

    • Open a terminal and navigate to the project directory.
    • Run python project.py.
  3. Interact:

    • Follow the on-screen instructions to choose an algorithm and list size.
    • Watch as the sorting process is visualized.

Project Structure

  • project.py: Entry point, initializes the screen and handles user interactions.
  • visualizers.py: Contains the Visualize class for sorting algorithm visualization.
  • algorithms.py: Implementations of various sorting algorithms.
  • blocks.py: Defines individual blocks (elements) in the visualization.
  • test_project.py: Unit tests for project functions.

How to Contribute

  • Bug Fixes: Submit fixes for any encountered bugs.
  • Algorithm Implementations: Add new sorting algorithms.
  • Enhancements: Improve UI or add features.

To contribute, fork the repository, make your changes, and submit a pull request. Your contributions are appreciated!

Contact

For questions or assistance, reach out to the project creator:

Explore sorting algorithms with ease and understanding. Happy sorting! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages