https://github.com/ahmad-masud/sorting-visualizer
📊 A Java Frame Application to visualize sorting algorithms
https://github.com/ahmad-masud/sorting-visualizer
bubble-sort insertion-sort java maven merge-sort quick-sort selection-sort sorting-algorithms sorting-visualization swing
Last synced: about 1 month ago
JSON representation
📊 A Java Frame Application to visualize sorting algorithms
- Host: GitHub
- URL: https://github.com/ahmad-masud/sorting-visualizer
- Owner: ahmad-masud
- License: mit
- Created: 2022-12-25T05:57:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-12T00:44:00.000Z (almost 2 years ago)
- Last Synced: 2025-02-09T17:04:43.306Z (10 months ago)
- Topics: bubble-sort, insertion-sort, java, maven, merge-sort, quick-sort, selection-sort, sorting-algorithms, sorting-visualization, swing
- Language: Java
- Homepage:
- Size: 14.6 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sorting Visualizer
## Overview
Sorting Visualizer is a Java-based application designed to visually demonstrate how different sorting algorithms work. It allows users to see the real-time sorting process, understand the mechanics behind each algorithm, and compare their performance.
## Features
- Visual representation of sorting algorithms in real-time.
- Supports multiple sorting algorithms, including but not limited to Bubble Sort, Quick Sort, Merge Sort, and Insertion Sort.
- Interactive GUI for easy manipulation and observation.
## Technology Stack
- **Java**: Core programming language used for application development.
- **Maven**: Utilized for automating build processes and managing dependencies.
- **Any IDE** or **Text Editor**: The project can be developed and configured using any IDE or text editor, though examples are provided for command line operations for simplicity.
## Setup Instructions
1. **Prerequisites**:
- Ensure Java Development Kit (JDK) is installed on your system.
- Maven should be installed for building and managing the project's dependencies.
2. **Clone or download the project**:
- Obtain the project files by cloning this repository or downloading the provided ZIP file.
3. **Building the Project with Maven**:
- Navigate to the project root directory in the terminal.
- Run `mvn clean install` to build the project and install the artifact into your local repository.
4. **Running the Application**:
- After building, execute `mvn exec:java` to run the application directly via Maven.
- Alternatively, you can run the generated JAR file manually. Find the JAR in the `target` directory and run it using `java -jar target/Sorting-Visualizer-1.0-SNAPSHOT.jar` (adjust the JAR file name as necessary based on the version defined in your `pom.xml`).
## Usage
- Once the application is running, select an algorithm from the available list.
- Initiate the sorting process to see the algorithm in action.
- Observe the sorting in real-time and compare the performance metrics displayed.
## Contributing
Contributions to the Sorting Visualizer are welcome. Please feel free to fork the project, make your changes, and submit a pull request for review.
## License
Sorting Visualizer is released under the MIT License. See the [LICENSE](LICENSE) file for more details.
# Implemented Algorithms
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort
- Quick Sort
# Bubble Sort

# Selection Sort

# Insertion Sort

# Merge Sort

# Quick Sort
