Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

ArjunCodess/algorithm_visualizer_pygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Description:

Hi everyone! I am Arjun Vijay Prakash from India and I will be taking you through this project.

SortingWiz is a Python and Pygame-based interactive sorting algorithm visualizer. It allows you to see how different sorting algorithms work in real-time by providing a visual representation of the sorting process.

Let’s look at some features of SortingWiz. You can visualize sorting algorithms in real-time, control the execution step by step, adjust the speed dynamically, and even enjoy sound effects to enhance your experience.

SortingWiz supports multiple sorting algorithms such as Bubble Sort, Insertion Sort, Selection Sort, and Heap Sort. You can choose your preferred algorithm and see it in action.

For those who are interested in technical details, SortingWiz shows the time and space complexity of each sorting algorithm. It is a great way to learn about different algorithms’ efficiency.

I appreciate your company throughout this exploration of SortingWiz. I hope it was both educational and fun for you. Feel free to try it out with different sorting algorithms. In case of any questions or feedback, please don’t hesitate to contact me. Happy sorting!

Getting StartedRequirements:

  • Python 3

  • Pygame library

Installation:

pipinstallpygame

Running the Program:

pythonsortingwiz.py

FeaturesVisualization of the following sorting algorithms:

  • Bubble Sort
  • Insertion Sort
  • Selection Sort
  • Heap Sort
  • Real-time updates during sorting process.

There are the key user controls for the sorting program: a start/stop button, reset button, sorting order change(ascending/descending), and switch to another algorithm.

Controls

  • Q: Quit the program.

  • R: Reset the list.

  • Space: Start/stop sorting.

  • A: Sort in ascending order.

  • D: Sort in descending order.

  • I: Select Insertion Sort.

  • B: Select Bubble Sort.

  • S: Select Selection Sort.

  • H: Select Heap Sort.

User InterfaceTitle: Displays the current sorting algorithm and order.

Controls: Shows key commands for user interaction.

Sorting Options: Lists available sorting algorithms.

Sorting Visualization: Displays a visual representation of the sorting process.

Additional Information: Displays project details and author information.

ContributingIf you'd like to contribute to SortingWiz, please follow these steps:

  • Fork the repository.
  • Create a new branch for your feature or bug fix.
  • Make your changes.
  • Submit a pull request.

AuthorArjun Vijay Prakash (@ArjunCodess)

AcknowledgmentsThis project was developed as a part of the CS50 Fall 2023 Final Project - SortingWiz.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp