Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amandeepkaur1804/sortingvisualizer-

Sorting Visualizer: A Java-based GUI project that demonstrates various sorting algorithms in real-time with an interactive interface. Dive into the fascinating world of sorting algorithms and see them in action! 🚀
https://github.com/amandeepkaur1804/sortingvisualizer-

bubble-sort insertion-sort java java-8 javafx merge-sort radix-sort selection-sort sorting-algorithms sorting-visualization

Last synced: 3 days ago
JSON representation

Sorting Visualizer: A Java-based GUI project that demonstrates various sorting algorithms in real-time with an interactive interface. Dive into the fascinating world of sorting algorithms and see them in action! 🚀

Awesome Lists containing this project

README

        

# SortingVisualizer-Java GUI Project
# Introduction
Sorting Visualizer is a Java-based project designed to help users visualize different sorting algorithms through an intuitive Graphical User Interface (GUI). This tool provides an engaging and educational experience, allowing users to observe the step-by-step process of various sorting algorithms.

# Features
Graphical User Interface (GUI): The project includes a user-friendly GUI that allows users to interact with and observe the sorting algorithms visually.

Sorting Algorithms: The visualizer supports a range of sorting algorithms, including:
1. Bubble Sort
2. Selection Sort
3. Insertion Sort
4. Merge Sort
5. Radix Sort
6. Quick Sort

Real-Time Visualization: Watch sorting algorithms in action as the visualizer animates the sorting process in real-time.

Adjustable Speed: Users can control the speed of the sorting animation, enabling them to slow down or speed up the visualization to match their learning pace.

# Getting Started
1. Follow these steps to set up and run the Sorting Visualizer project:

2. Clone the Repository: Clone the GitHub repository to your local machine using the following command:
sh Copy code
git clone https://github.com/Amandeepkaur1804/Sorting-Visualizer.git

3. Open the Project: Use an Integrated Development Environment (IDE) that supports Java to open the project.

4. Run the Application: Locate the main Java file (SortingVisualizer.java) and run the application. This will launch the Sorting Visualizer GUI.

# How to Use
1. Launch the application to open the Sorting Visualizer GUI.
2. Select a sorting algorithm from the available options (e.g., Bubble Sort, Selection Sort) using the dropdown menu.
3. Adjust the speed of the sorting animation using the provided speed control feature.
4. Click the "Visualize" button to start the sorting process. The visualizer will animate the selected algorithm, showing each step of the sorting process.
5. Observe the elements being sorted in real time on the graphical display.
6. Once the sorting is complete, experiment with other sorting algorithms or modify the input data to explore further.

# Contribution
I want you to know that contributions to this project are welcome and encouraged. To contribute:

1. Fork the repository on GitHub.
2. Create a new branch with a descriptive name for your feature or bug fix.
3. Make your changes and improvements to the code.
4. Test your changes thoroughly.
5. Create a pull request to merge your changes into the main repository.

Array elements before sorting
![Screenshot (57)](https://github.com/Amandeepkaur1804/SortingVisualizer-/assets/107187322/178bbb5f-cf06-403f-9140-888a95d8c42e)

Array elements while sorting
![Screenshot (58)](https://github.com/Amandeepkaur1804/SortingVisualizer-/assets/107187322/97809231-d50b-4cc4-b5bb-0dce19144925)

Array elements after sorting
![Screenshot (59)](https://github.com/Amandeepkaur1804/SortingVisualizer-/assets/107187322/de003a42-56f0-47d6-9656-151df9e756b4)