abhis1609 / SortViz

"SortViz: Explore sorting algorithms through interactive visualizations. Step-by-step execution, compare performance, and gain algorithmic insights. Perfect for students and developers. Unlock the power of sorting algorithms with SortViz!"

Home Page:https://abhis1609.github.io/SortViz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sorting Visualizer

Sorting Visualizer is a web application that showcases the inner workings of various sorting algorithms. It provides a visual representation of the algorithms' steps, allowing users to gain a better understanding of how each algorithm functions.

Implemented Algorithms

  • Bubble sort
  • Selection sort
  • Insertion sort
  • Merge sort
  • Quick sort
  • Heap sort

Features

  • Colored representation of each step:
    • Blue: Default color
    • Yellow: Elements being compared
    • Red: Elements identified as incorrectly positioned
    • Green: Elements in the correct position
  • Controls for visualizations:
    • Speed control (with 5 speed levels)
    • Data size control
    • Data generation (randomly generate new data)
  • Time and space complexity analysis of the algorithm being visualized.

Usage

  1. Clone the repository: git clone https://github.com/abhis1609/SortViz.git
  2. Open the index.html file in your web browser.
  3. Select an algorithm from the menu and adjust visualization settings.
  4. Click "Start" to begin the visualization.

Feel free to contribute to this project by adding more sorting algorithms or improving existing ones!

Demo

Click here to see a live demo of the Sorting Visualizer in action.

License

This project is licensed under the MIT License.

About

"SortViz: Explore sorting algorithms through interactive visualizations. Step-by-step execution, compare performance, and gain algorithmic insights. Perfect for students and developers. Unlock the power of sorting algorithms with SortViz!"

https://abhis1609.github.io/SortViz/

License:MIT License


Languages

Language:JavaScript 58.6%Language:CSS 14.6%Language:SCSS 14.5%Language:HTML 12.4%