A web-based tool to visually demonstrate and compare the performance of sorting algorithms. See sorting algorithms in action with interactive visualizations.
Sorting Algorithm Visualizer is a web-based tool to visually demonstrate the inner workings of sorting algorithms. This tool provides users with the ability to interactively explore how different sorting algorithms work by watching animations of the sorting process. The visualizations aim to make it easier to understand sorting algorithms step-by-step.
๐ Currently, only Bubble Sort is available for visualization.
- ๐ Bubble Sort: Visualize how the Bubble Sort algorithm works.
- ๐ฌ Interactive Animation: Dynamic bar animations displaying sorting steps in real-time.
- โฑ๏ธ Adjustable Speed: Modify the speed of visualizations for a detailed understanding.
- ๐จ User-Friendly Interface: Simple and intuitive controls for easy interaction.
- ๐ฑ Responsive Design: Fully functional across all modern browsers and screen sizes.
The following sorting algorithm is currently available for visualization:
- Bubble Sort: A simple comparison-based sorting algorithm.
You can view a live demo of the project at:
๐ Sorting Algorithm Visualizer Demo
| Layer | Technology |
|---|---|
| Frontend | HTML, CSS, JavaScript |
| Animation | JavaScript (DOM Manipulation) |
- Start Visualization: Click the "Start" button to visualize the Bubble Sort algorithm.
- Pause/Resume: Pause the animation at any point to analyze the sorting steps.
- Speed Control: Use the slider to adjust the speed of the animation to your preference.
Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-name). - Make your changes.
- Commit your changes (
git commit -m 'Add new feature'). - Push to your branch (
git push origin feature-name). - Open a pull request to the
mainbranch.
Made with โค๏ธ by Abdullah Al Noman