An interactive, dark‑mode sorting algorithm visualizer built with React, MUI icons, and sleek neumorphic styling. Watch classic sorting algorithms animate step‑by‑step, adjust speed, choose algorithms, and enjoy a clean, responsive UI inspired by 2025 design trends.
🔗 Live Demo: https://sorting-visualizer-adidev.vercel.app/
- Algorithms: Bubble, Selection, Insertion, Merge, Quick ⚙️
- Speed Controls: 1×–5× playback buttons ⏩
- Play / Pause / Step: Intuitive
▶️ / ❚❚ / ⏭ controls - Custom Array: Regenerate random arrays or adjust individual bars 🔄
- Dark‑Mode Neumorphism: Soft shadows, accent highlights, hover animations ✨
- Sticky Header & Footer: Quick links and author attribution 📑
- Mobile‑First Design: Touch‑friendly controls and fluid layouts 📱
-
Clone the repository
git clone https://github.com/AdidevJJ/sort-visualizer.git cd sort-visualizer -
Install dependencies
npm install # or yarn install -
Start the development server
npm start # or yarn start -
Open in your browser Navigate to http://localhost:3000
- Select an Algorithm: Click the algorithm pill in the header.
- Adjust Speed: Choose a speed multiplier (1× to 5×).
- Play / Pause / Step: Use the controls to animate or step through the sort.
- Randomize Array: Click 🔄 to generate a new set of values.
sort-visualizer/
├─ public/
│ └─ index.html # HTML template
├─ src/
│ ├─ algorithms/ # Sorting logic (Bubble, Selection, Insertion, Merge, Quick)
│ ├─ components/ # Reusable UI components
│ │ ├─ Bar.js # Renders a single bar
│ │ ├─ Header.js # Sticky top bar with controls and links
│ │ └─ Footer.js # Bottom attribution footer
│ ├─ App.js # Main application and state management
│ ├─ App.css # Neumorphic dark-mode styling & responsive rules
│ └─ index.js # Entry point
├─ package.json # Project metadata & scripts
└─ README.md # Project documentation
- Fork the repo
- Create a branch:
git checkout -b feature/YourFeature - Commit your changes:
git commit -m "Add YourFeature" - Push to your branch:
git push origin feature/YourFeature - Open a Pull Request
Please follow the existing code style and include tests or documentation where relevant.
This project is open-source under the MIT License.
- Built with ❤️ by Adidev J J
- Icons by Material‑UI (MUI)
Enjoy visualizing your sorts and happy coding! 🎉