An interactive Sorting Algorithm Visualizer built using Java, Spring Boot, HTML, CSS, and JavaScript. This project demonstrates how different sorting algorithms work through real-time animations and visual feedback.
- Visualize sorting algorithms step-by-step
- Generate random arrays dynamically
- Adjustable array size and animation speed
- Real-time comparison and swap counters
- Execution time tracking
- Modern responsive UI
- Stop sorting anytime during execution
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Java 17
- Spring Boot
- Maven
- HTML5
- CSS3
- JavaScript (ES6)
- Frontend sends array data and selected algorithm to the Spring Boot backend.
- Backend records each comparison and swap as sorting steps.
- Steps are returned as JSON.
- Frontend animates the sorting process in real time.
Visualizer
├── src
├── pom.xml
├── mvnw
├── mvnw.cmd
└── README.md
GET /api/algorithmsPOST /api/sortClone the repository:
git clone https://github.com/Pawan1Mali/Visualizer.gitNavigate to project:
cd VisualizerRun application:
./mvnw spring-boot:runmvnw.cmd spring-boot:runOpen:
http://localhost:8080
- Heap Sort
- Radix Sort
- Shell Sort
- Dark/Light Theme Toggle
- Sound Effects
Pawan Mali