Skip to content

This project is a Python-based visualization tool that demonstrates various sorting algorithms. The program provides an interactive and intuitive way to understand the inner workings of popular sorting algorithms such as bubble sort, selection sort, merge sort, quicksort, and insertion sort.

Notifications You must be signed in to change notification settings

nazir20/Sorting-Algorithms-Visualization-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Algorithms Visualization Python

Python Tkinter

A visualization tool for various sorting algorithms implemented in Python. See how different sorting algorithms work and how they perform on different datasets.

Demo:

Demo Gif

Features

  • 🎯 Visualize popular sorting algorithms, including Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, Quick Sort, and more.
  • 📊 Choose from various pre-defined datasets, including random, sorted, reversed, and nearly sorted data.
  • ⏱️ Adjust the speed of the visualization to observe the sorting process in real-time or faster.
  • ⏯️ Step through the sorting process one step at a time or let it run continuously.
  • ⏸️ Pause, resume, and reset the visualization as needed.
  • 🖥️ Interactive user interface to control the visualization.

Prerequisites

Getting Started:

  1. Clone this repository to your local machine.
  2. Install the required dependencies by running the following command: 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.

Authors:

  • Nazir Sharifi(@nazir20)
  • Judy Nkwama(@judy-nkwama)
  • Aslı Bozkurt(@asliBozkurt)

Screenshots:

Demo Gif Demo Gif Demo Gif

About

This project is a Python-based visualization tool that demonstrates various sorting algorithms. The program provides an interactive and intuitive way to understand the inner workings of popular sorting algorithms such as bubble sort, selection sort, merge sort, quicksort, and insertion sort.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages