Skip to content

"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!"

License

Notifications You must be signed in to change notification settings

abhis1609/SortViz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published