Algorithm Visualizer is a JavaFX application designed to visualize various algorithms to aid in understanding their inner workings. This project provides a visual representation of algorithms such as sorting, path finding and graph traversal. With interactive animations and step-by-step execution, users can observe how algorithms operate in real-time.
- Interactive Visualization: Visualize algorithms with interactive animations to understand their behavior better.
- Step-by-Step Execution: Execute algorithms step-by-step to see how they progress through each iteration.
- Multiple Algorithms: Implementations of various algorithms including sorting (e.g. bubble sort, merge sort etc), path finding (e.g. BFS, DFS, Dijkstra etc), and graph algorithms (e.g., DFS, BFS, Dijkstra etc).
- Customizable Parameters: Adjust parameters such as array size, animation speed, and input data to tailor the visualization experience.
- User-Friendly Interface: Intuitive UI design for seamless interaction and easy navigation.
Sorting
- Bubble sort
- Selection sort
- Insertion sort
- Shell sort
- Merge sort
- Quick sort
- Counting sort
- Radix sort
Path Finding (Maze Solving)
- BFS
- DFS
- Dijkstra's Algorithm
Graph
- BFS
- DFS
- Dijkstra's Algorithm
- MST
- Clone the repo to your local machine.
git clone https://github.com/taxin1/AlgorithmVisualizer.git
- Open it in your preferred IDE and setup JavaFX.
- Then add the following JAR files to your dependencies. They can be found under the folders
jar_files
,jar_files_2
andjar_files_3
. If your're using IntelliJ then navigate toFile > Project Structure > Project Settings > Modules > Dependencies
. Then add the JARs underDependencies
.
controlsfx-11.2.1.jar
jfoenix-21.0.0.jar
jfxtras-common-17-r1.jar
- Run
AlgorithmVisualizerMenu.java
.
This project is licensed under the MIT License - see the LICENSE file for details.
This is made as the final project for CSE 4402: Visual Programming Lab.
Team publicStaticVoidMain