Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Algorithm Visualizer

This project is a Sorting Algorithm Visualizer that helps users understand how different sorting algorithms work by visually representing the sorting process in real time.

Live Demo

You can view the project here: Sorting Algorithm Visualizer Live Demo

Table of Contents

Overview

The Sorting Visualizer allows users to select a sorting algorithm and observe how the elements in an array are sorted step-by-step. It visually demonstrates popular sorting algorithms and enhances learning through an interactive interface.

Features

  • Visualize popular sorting algorithms:
    • Bubble Sort
    • Selection Sort
    • Insertion Sort
    • Merge Sort
    • Quick Sort
  • Customizable array size and speed of visualization.
  • Shuffle or reset the array to try again.

Technologies Used

  • HTML: Structure of the webpage.
  • CSS: Styling and layout.
  • JavaScript: Logic and animation for sorting algorithms.

How to Use

  1. Open the live link in your browser.
  2. Select a sorting algorithm from the options.
  3. Adjust the array size or visualization speed (optional).
  4. Click on Start to begin the sorting visualization.
  5. Use Shuffle to randomize the array again.

Home Page

Screenshot from 2024-12-17 22-16-55

Sorting in Action

Screenshot from 2024-12-17 22-08-26

Screenshot from 2024-12-17 22-07-44 Screenshot from 2024-12-17 22-18-44

Future Improvements

  • Add more sorting algorithms like Heap Sort, Radix Sort, etc.
  • Include a comparison feature to analyze sorting time complexity.
  • Improve UI/UX with better visuals and animations.
  • Support for custom input arrays.

Contributing

Contributions are welcome! If you find a bug or want to add a feature:

  1. Fork this repository.
  2. Create a new branch.
  3. Make your changes and test them.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages