A web-based Sorting Visualizer project that allows users to visualize various sorting algorithms in real-time.
- Visualize sorting algorithms: Bubble Sort, Insertion Sort, Merge Sort, Quick Sort, and Selection Sort.
- Adjustable speed: Control the animation speed of the sorting process.
- Customizable array size: Set the size of the array to be sorted.
- Dark and Light themes: Choose between dark mode and light mode for a personalized experience.
- Clone the repository:
git clone https://github.com/your-username/sorting-visualizer.git - Open the project directory:
cd sorting-visualizer - Open the
index.htmlfile in your preferred web browser.
- Select a sorting algorithm from the dropdown menu.
- Adjust the speed slider to control the animation speed.
- Use the array size slider to set the size of the array to be sorted.
- Click the "Sort" button to start the visualization.
- Observe the bars representing the array being sorted in real-time.
- HTML
- CSS
- JavaScript
Contributions are welcome! If you have any suggestions or improvements, please submit a pull request.