This project aims to visually demonstrate various sorting algorithms in action. It provides an interactive way to understand how different sorting techniques operate, step by step.
- Sorting Algorithms: Includes visualization for popular sorting algorithms such as Bubble Sort, Insertion Sort, Selection Sort, Merge Sort, Quick Sort, Heap Sort, and Cyclic Sort.
- Interactive UI: Visualizes each step of the sorting process, allowing users to see how data is sorted in real-time.
- Performance Metrics: Displays time complexity and space complexity for each algorithm.
- Customization: Adjustable animation speed to observe sorting algorithms at different paces.
To run the project locally:
- Clone this repository:
git clone https://github.com/your-username/Sorting-Visualization.git
- Open the project directory:
cd Sorting-Visualization
- Open index.html in your web browser.
- Choose a sorting algorithm from the given choices.
- Adjust the speed slider to control the animation speed.
- Click on "Sort" to visualize the selected algorithm in action.
Contributions are welcome! If you'd like to contribute:
- Fork the repository.
git clone https://github.com/your-username/Sorting-Visualization.git
- Create your feature branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -am 'Add some feature':
- Push to the branch:
git push origin feature/YourFeature
- Replace
your-username
in the clone URL with your GitHub username or repository URL. - Ensure that the numbered list for contributing steps is clear and correctly formatted for Bash commands.
- Markdown syntax (
##
for headings,-
for bullet points) is used for content sections (Usage
,Contributing
, etc.).