Skip to content

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! πŸš€

Notifications You must be signed in to change notification settings

Amandeepkaur1804/SortingVisualizer-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 

Repository files navigation

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)

Array elements while sorting Screenshot (58)

Array elements after sorting Screenshot (59)

About

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! πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages