Check out the live demo here.
Algorithm Visualizer is an interactive web application designed to help users understand and visualize various sorting algorithms. Built with Next.js and React, this project aims to make learning algorithms more engaging and intuitive.
- Visualize multiple sorting algorithms in real-time
- Adjustable array size for different complexity scenarios
- Play, pause, and reset functionalities
- Detailed explanations for each algorithm
- Responsive design for various screen sizes
- Bubble Sort
- Insertion Sort
- Merge Sort
- Heap Sort
- Quick Sort
To get a local copy up and running, follow these simple steps.
- Node.js (v14 or later)
- npm
- Clone the repo
git clone https://github.com/Quinta0/valgo.git
- Navigate to the project directory
cd valgo
- Install dependencies
npm install
- Start the development server
npm run dev
- Open http://localhost:3000 in your browser
- Select a sorting algorithm from the dropdown menu.
- Adjust the array size using the slider if desired.
- Click the "Start" button to begin the visualization.
- Use the "Pause" and "Resume" buttons to control the animation.
- Click "Reset" to generate a new random array.
- Read the algorithm explanation provided below the visualization.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch
git checkout -b feature/AmazingFeature
- Commit your Changes
git commit -m 'Add some AmazingFeature'
- Push to the Branch
git push origin feature/AmazingFeature
- Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.