Skip to content

anubhav-n-mishra/sorting-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Visualizer

A web-based sorting visualizer that allows users to input an array of numbers and visualize the sorting process using various algorithms. This project aims to help users understand how different sorting algorithms work through interactive visualizations.

Features

  • Visualize multiple sorting algorithms:
    • Bubble Sort
    • Selection Sort
    • Insertion Sort
    • Merge Sort
    • Quick Sort
    • Heap Sort
    • Shell Sort
    • Counting Sort
    • Radix Sort
    • Bucket Sort
    • Comb Sort
  • User-friendly interface with input validation.
  • Real-time visualization of sorting processes.
  • Explanations of each sorting algorithm.
  • Adjustable animation speed for better understanding.

Demo

Sorting Visualizer Demo

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Google Fonts for typography

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/TONYSTARKOP/sorting-visualizer.git
  2. Navigate to the project directory:
    cd sorting-visualizer
  3. Open index.html in your web browser to view the application.

Usage

  1. Enter an array of numbers in the input field, separated by commas (e.g., 34, 7, 23, 32, 5, 62).
  2. Select the sorting algorithm you want to visualize from the dropdown menu.
  3. Adjust the animation speed using the provided input field.
  4. Click the "Start Sorting" button to begin the visualization.
  5. Observe the sorting process in real-time, with highlighted elements and explanations displayed.

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.

Acknowledgments

  • Inspired by various educational resources on sorting algorithms.
  • Special thanks to the open-source community for their contributions and support.

Contact

For any inquiries or feedback, please reach out to Anubhav Mishra.

Releases

No releases published

Packages

 
 
 

Contributors