Sorting Algorithm Visualizer is a web application that allows users to visualize various sorting algorithms in action. It provides an interactive interface to understand how sorting algorithms work and compare their performance.
- Visualize popular sorting algorithms such as Bubble Sort, Insertion Sort, Selection Sort, Merge Sort, and Quick Sort.
- Adjustable animation speed to control the pace of visualization.
- Responsive design for optimal viewing experience on different devices.
- Frontend: Next.js (with TypeScript)
- State Management: React Context API
- Styling: Tailwind CSS
- Type Checking: TypeScript
- Version Control: Git, GitHub
To run the Sorting Algorithm Visualizer locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/sorting-algorithm-visualizer.git
- Navigate to the project directory:
cd sorting-algorithm-visualizer
- Install dependencies:
npm install
- Start the development server:
npm start
- Open your browser and visit http://localhost:3000 to view the application.
- Select a sorting algorithm from the dropdown menu.
- Adjust the animation speed using the slider.
- Click the "Play" icon to visualize the selected sorting algorithm in action.
- Explore different sorting algorithms and observe their behavior.