A visual and interactive sorting algorithm race built using JavaFX. This project demonstrates how different sorting algorithms perform on the same dataset — side-by-side — in real-time.
View working: https://youtu.be/4kp8DTyYK5M
- 🎨 GUI built with JavaFX
- 📊 Multiple sorting algorithms visualized simultaneously
- 🏁 "Race" mode to compare speed and behavior
- 🧮 Algorithms include:
- Bubble Sort
- Merge Sort
- Java 11+
- JavaFX SDK (tested with JavaFX 21)
- IntelliJ IDEA
- JavaFX (UI/UX with
Stage,Scene,Canvas, etc.) - Multithreading and concurrency in Java
- Sorting algorithm implementation and analysis
- JavaFX animation and rendering
- Performance comparison via real-time visualization
Download JavaFX SDK from gluonhq.com and extract it.
- Go to
File > Project Structure > Libraries - Add the path:
/path-to/javafx-sdk/lib
In Run > Edit Configurations, set:
Press SortingRaceVisualizer) and select Run.
(Add screenshots of your GUI showing the sorting race here)
- JavaFX Official Docs – https://openjfx.io
- Visual algorithm inspiration from visualgo.net
- Add pause/resume/reset functionality
- Support for custom array sizes and user inputs
- More algorithms: Heap Sort, Radix Sort, etc.
- Performance metrics overlay