Giter Site home page Giter Site logo

nazir20 / sorting-algorithms-visualization-python Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 18.1 MB

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.

Python 100.00%
python sorting-algorithm-visualizations sorting-algorithms sorting-python sorting-visualization

sorting-algorithms-visualization-python's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.