Welcome to the Sorting Algorithm Visualizer! This project is a well-designed and easy-to-understand visualizer for various sorting algorithms. It's written primarily in JavaScript, with HTML and CSS for the front end. This tool helps users understand how different sorting algorithms work by visualizing the sorting process.
- Visual representation of various sorting algorithms.
- Step-by-step visualization to enhance understanding.
- User-friendly interface.
- Options to adjust the speed of the visualization.
- Ability to select different array sizes and types.
- Node.js and npm installed on your machine.
- Clone the repository:
git clone https://github.com/streamlen/sortingAlgorithmVisualizer.git
- Navigate to the project directory:
cd sortingAlgorithmVisualizer - Install the dependencies:
npm install
- Start the application:
npm start
- Open your web browser and navigate to
http://localhost:3000.
- Select the sorting algorithm you want to visualize from the dropdown menu.
- Adjust the speed of the visualization using the speed slider.
- Choose the size and type of array you want to sort.
- Click on the "Start" button to begin the visualization.
- Watch the algorithm sort the array step by step.
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Heap Sort
We welcome contributions from the community. To contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature/your-feature-name
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
