This is a Python application that visualizes various sorting algorithms step by step using a graphical user interface (GUI). It allows users to select an algorithm, input a vector to be sorted, and observe the sorting process visually.
- Supports the visualization of the following sorting algorithms:
- Bubble Sort
- Insertion Sort
- Selection Sort
- Merge Sort
- Step-by-step visualization of the sorting process.
- Graphical representation of the current state of the vector being sorted.
- Additional textual information for each step of the sorting process.
- Customizable sleep times for different algorithms to control the speed of visualization.
-
Clone the repository:
git clone https://github.com/Sartor02/algo-visualizer-tkinter.git
-
Navigate to the project directory:
cd algo-visualizer-tkinter
-
Run the application:
python main.py
-
Select an algorithm from the dropdown menu.
-
Enter a comma-separated vector in the input field.
-
Click the "Sort" button to start the visualization.
Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request.
This project is licensed under the MIT License.