Welcome to the Sorting Visualizer! This web application allows you to visualize different sorting algorithms in action.
- Multiple Sorting Algorithms: Visualize various algorithms like Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, Quick Sort, and more.
- Customizable Array Size: Adjust the size of the array to be sorted.
- Speed Control: Control the speed of the visualization to better understand the sorting process.
- Responsive Design: Compatible with different screen sizes for better user experience.
- HTML: Structure the web page.
- CSS: Style the visual elements.
- JavaScript: Implement sorting algorithms and control the visualization.
To run the application locally, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/sorting-visualizer.git
- Navigate to the project directory:
cd sorting-visualizer
- Open
index.html
in your preferred web browser.
- Choose a sorting algorithm from the provided options.
- Adjust the array size and visualization speed using the controls.
- Click the "Generate New Array" button to create a new array.
- Click the "Start Sorting" button to begin the visualization.
Check out the live demo here.