Skip to content

gdsc-pdeu/SortingVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SORTING-VISUALIZER

Author

Kunal Sahoo

Introduction

The project Sorting-Visualizer aims to build a fully-functional visualizing tool for algorithms developed natively for Python programming using Python3 programming language. An

Features

As of now, the project has following functionalities:

  • Generate a random shuffled array of 100 elements
  • Visualize elements of array in the form of bar graphs
  • Offers a selection menu to choose various algorithms
  • Offers a selection menu to choose the speed of sorting action
  • Graphically show the comparisons made and swapping of elements

Get Started

Step 1: Open a terminal/git bash

Step 2: Run the following command

[user@desktop local/path] $ git clone https://github.com/Kunal-Kumar-Sahoo/SortingVisualizer.git

Step 3: If you are using any Linux-based distro or macOS, you would need to install Tkinter

  • Debian-based distros:

    [user@desktop local/path] $ sudo apt update
    [user@desktop local/path] $ sudo apt install python3-tk
  • Arch-based distros:

    [user@desktop local/path] $ sudo pacman -Sy
    [user@desktop local/path] $ sudo pacman -S tk
  • RHEL-based distros:

    [user@desktop local/path] $ sudo dnf update
    [user@desktop local/path] $ sudo dnf install python3-tkinter
  • macOS:

    user@desktop local/path % pip3 install tk

Step 4: Now run the program

user@desktop local/path $ python3 src/main.py

Contribution Guidelines

Are we missing any of your favorite features, which you think you can add to it❓ We invite you to contribute to this project and make it better. To start contributing, follow the below guidelines:

1. Fork this repository.

2. Clone your forked copy of the project.

git clone https://github.com/<your_user_name>/voice_assisstant.git

3. Navigate to the project directory 📁 .

cd voice_assisstant

4. Add a reference(remote) to the original repository.

git remote add upstream https://github.com/gdsc-pdeu/voice_assisstant.git

5. Check the remotes for this repository.

git remote -v

6. Always take a pull from the upstream repository to your master branch to keep it at par with the main project(updated repository).

git pull upstream main

7. Create a new branch.

git checkout -b <your_branch_name>

8. Perfom your desired changes to the code base.

9. Track your changes:heavy_check_mark: .

git add .

10. Commit your changes .

git commit -m "enter Necessary message"

11. Push the committed changes in your feature branch to your remote repo.

git push -u origin <your_branch_name>

12. To create a pull request, click on compare and pull requests.

13. Add appropriate title and description to your pull request explaining your changes and efforts done.

14. Click on Create a Pull Request.

15 Voila!! You have made a PR to the voice_assisstant . Wait for your submission to be accepted and your PR to be merged.

About

Python GUI program to visualize sorting algorithms

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages