Sorting Visualization

This project aims to visually demonstrate various sorting algorithms in action. It provides an interactive way to understand how different sorting techniques operate, step by step.

image

Features

  • Sorting Algorithms: Includes visualization for popular sorting algorithms such as Bubble Sort, Insertion Sort, Selection Sort, Merge Sort, Quick Sort, Heap Sort, and Cyclic Sort.
  • Interactive UI: Visualizes each step of the sorting process, allowing users to see how data is sorted in real-time.
  • Performance Metrics: Displays time complexity and space complexity for each algorithm.
  • Customization: Adjustable animation speed to observe sorting algorithms at different paces.

Getting Started

To run the project locally:

  1. Clone this repository:
    git clone https://github.com/your-username/Sorting-Visualization.git
    
  2. Open the project directory:
    cd Sorting-Visualization
    
  3. Open index.html in your web browser.

Usage

  • Choose a sorting algorithm from the given choices.
  • Adjust the speed slider to control the animation speed.
  • Click on "Sort" to visualize the selected algorithm in action.

Contributing

Contributions are welcome! If you'd like to contribute:

  1. Fork the repository.
    git clone https://github.com/your-username/Sorting-Visualization.git
    
  2. Create your feature branch:
    git checkout -b feature/YourFeature
    
  3. Commit your changes:
    git commit -am 'Add some feature':
    
  4. Push to the branch:
    git push origin feature/YourFeature
    

Notes:

  • Replace your-username in the clone URL with your GitHub username or repository URL.
  • Ensure that the numbered list for contributing steps is clear and correctly formatted for Bash commands.
  • Markdown syntax (## for headings, - for bullet points) is used for content sections (Usage, Contributing, etc.).