A powerful sorting visualizer built with Next.js, TypeScript, and TailwindCSS. This app provides an interactive visualization of various sorting algorithms with adjustable speed, making it an excellent tool for understanding sorting techniques and computer science fundamentals.
- Sorting Algorithms: Supports multiple algorithms such as Bubble Sort, Selection Sort, Merge Sort, Quick Sort, etc.
- Adjustable Speed: Control the speed of the sorting visualization.
- Responsive Design: Clean and responsive UI built with TailwindCSS.
- Real-time Visualization: Step-by-step visualization of how sorting algorithms work.
- Animations: Smooth transitions and animations to enhance the user experience.


You can try the live demo here.
-
Clone the repository:
git clone https://github.com/Shaban-Eissa/Next.js-Sorting-Algorithms-Visualizer
-
Navigate into the project directory:
cd Next.js-Sorting-Algorithms-Visualizer
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open the application in your browser: Navigate to http://localhost:3000.
- Bubble Sort
- Selection Sort
- Merge Sort
- Quick Sort
- Insertion Sort
You can easily add more sorting algorithms or modify the visualizer:
- Sorting algorithms can be added in the
Algorithms
folder. - The speed controls can be adjusted in the
Visualizer.tsx
context.
You are welcome to contribute to this project. Feel free to open issues, create pull requests, or suggest new features.