diff --git a/README.md b/README.md index 62fac55..3b34acd 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ # Sorting Algorithms Visualization Python -[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) -[![Python](https://img.shields.io/badge/Python-3.7%2B-blue.svg)](https://www.python.org) -[![Pygame](https://img.shields.io/badge/Pygame-2.0.1-blue.svg)](https://www.pygame.org) +[![Python](https://img.shields.io/badge/Python-3.11.3-blue.svg)](https://www.python.org) +[![Tkinter](https://img.shields.io/badge/Tkinter-8.6-brightgreen)](https://docs.python.org/3/library/tkinter.html) A visualization tool for various sorting algorithms implemented in Python. See how different sorting algorithms work and how they perform on different datasets. -Sorting Algorithms Visualization Python Demo: demo.gif +## Demo: + +![Demo Gif](_Captures/gif.gif) + ## Features @@ -19,27 +21,27 @@ Sorting Algorithms Visualization Python Demo: demo.gif ## Prerequisites -- Python 3.7 or higher -- Pygame library (https://www.pygame.org) +- Python 3.10+ or higher +- Tkinter library (https://docs.python.org/3/library/tkinter.html) ## Getting Started: 1. Clone this repository to your local machine. 2. Install the required dependencies by running the following command: - `pip install pygame` + `pip install tkinter` 3. Run the program by executing the following command: `python main.py` 4. Use the user interface to select a sorting algorithm, dataset, and adjust the visualization settings. 5. Start the visualization and observe the sorting algorithm in action. -## Screenshots: - -Screenshot 1: screenshot1.png -Screenshot 2: screenshot2.png - ## Authors: -- Nazir (@nazir20) -- Judy (@judy-nkwama) -- Asli (@asliBozkurt) +- Nazir Sharifi(@nazir20) +- Judy Nkwama(@judy-nkwama) +- Aslı Bozkurt(@asliBozkurt) + +## Screenshots: +![Demo Gif](_Captures/sc1.png) +![Demo Gif](_Captures/sc2.png) +![Demo Gif](_Captures/sc3.png) diff --git a/_Captures/gif.gif b/_Captures/gif.gif new file mode 100644 index 0000000..8625fcc Binary files /dev/null and b/_Captures/gif.gif differ diff --git a/_Captures/sc1.png b/_Captures/sc1.png new file mode 100644 index 0000000..ed35c54 Binary files /dev/null and b/_Captures/sc1.png differ diff --git a/_Captures/sc2.png b/_Captures/sc2.png new file mode 100644 index 0000000..3df611f Binary files /dev/null and b/_Captures/sc2.png differ diff --git a/_Captures/sc3.png b/_Captures/sc3.png new file mode 100644 index 0000000..f654bb6 Binary files /dev/null and b/_Captures/sc3.png differ diff --git a/main.py b/main.py index 1933ae9..9668fa1 100644 --- a/main.py +++ b/main.py @@ -4,7 +4,6 @@ from sorting_algorithms import * import random -# This code creates a chart using the Tkinter library. First, root creation, which is a Tk creation. This object represents a window that will serve as the main window. root = Tk() root.title('Sorting Algorithms Visualization') root.geometry('900x600')