Coder Social home page Coder Social logo

sorting-visualizer's Introduction

Sorting Algorithms Visualization

License

A Python application that visualizes various sorting algorithms using Tkinter Python libraries. This project provides a visual representation of how different sorting algorithms work, allowing users to observe and analyze their performance.

Sorting Algorithms Visualization

Table of Contents

Features

  • Visualizes popular sorting algorithms, including:

    • Bubble Sort
    • Selection Sort
    • Insertion Sort
    • Merge Sort
    • Quick Sort
    • Heap Sort
  • Allows users to customize the input size, delay between each step, and color scheme.

  • Provides step-by-step visualization of the sorting process, making it easy to understand how the algorithms work.

  • Displays statistics such as the number of comparisons and swaps performed by each algorithm.

  • Supports pausing, resuming, and resetting the visualization.

Installation

  1. Clone the repository:

    git clone https://github.com/balaganesh102004/Sorting-Visualizer.git
  2. Navigate to the project directory:

    cd Sorting-Visualization
  3. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Run the application:

    python sorting visualizer.py
  2. Choose a sorting algorithm from the available options.

  3. Adjust the input size, delay, minimum and maximum values according to your preferences.

  4. Click the "Start" button to begin the visualization.

  5. Observe the step-by-step visualization and analyze the sorting process.

  6. Use the pause, resume, and reset buttons to control the visualization.

Contributing

Contributions to this project are welcome and encouraged! If you would like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with descriptive commit messages.
  4. Push your changes to your fork.
  5. Submit a pull request, explaining the changes you made and why they should be merged.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

sorting-visualizer's People

Contributors

balaganesh102004 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.