Skip to content

Vamshi00111/Sorting-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Sorting Visualizer

This project is a Sorting Algorithm Visualizer built using Pygame. It visually represents the step by step process of sorting algorithms, making it a great tool for understanding how these algorithms work.


Features

  • Visualizes the Bubble Sort algorithm in real-time.
  • Dynamic bar heights generated randomly for each session.
  • Adjustable screen dimensions, bar width, and sorting speed for customization.

Tech Stack

  • Programming Language: Python
  • Graphics Library: Pygame

How to Use

Setup and Installation

  1. Clone the repository:

    git clone <Repo>
    cd <YourSortingVisualizerRepo>
  2. Install the required libraries:
    Ensure you have Python installed, then install Pygame:

    pip install pygame
  3. Run the visualizer:

    python visualizer.py

Key Files

  • visualizer.py: Contains the main visualizer logic and Bubble Sort implementation.
  • sortingAlgorithms.py: Extendable module for additional sorting algorithms.

Happy Sorting! ๐Ÿš€

About

The Sorting VisualizerThe Sorting Visualizer is an interactive tool that visually demonstrates various sorting algorithms in action, helping you understand their step-by-step processes and performance through dynamic animations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages