A sleek, interactive web app to see sorting algorithms in action. Learn how Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, and more actually workβstep by step, with live animations! Perfect for students, developers, or anyone curious about how algorithms organize data.
- Real-time visualization β Watch the array get sorted in real time.
- Multiple algorithms β Bubble Sort, Selection Sort, Insertion Sort, Merge Sort (expandable!).
- Customizable array β Adjust the size and range of numbers to sort.
- Adjustable speed β Slow down or speed up the animation to understand the process.
- Highlight comparisons & swaps β See which elements are being compared and swapped.
- Dark & Light Mode β Easy on the eyes for long coding sessions.
- Interactive controls β Play, pause, reset, or shuffle anytime.
- Cross-platform β Works on web, and can be packaged with Electron for desktop.
Make sure you have Node.js installed. Then:
# Clone the repository
git clone https://github.com/yourusername/sorting-visualizer.git
# Navigate into the folder
cd sorting-visualizer
# Install dependencies
npm install
# Start the app
npm start