Skip to content

Build perfect mazes and find solutions using different algorithms and visualize different sorting techniques

Notifications You must be signed in to change notification settings

ShriramShagri/Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm Visualiser

A simple tool built step by step visualization for path finding, maze creating and sorting algorithms.

Over 35 algorithms visualized step by step!

Watch the project video HERE!


Maze and Path Finding

Example

Sorting

Example


Supported Algorithms:

  1. Path Finding
  2. Maze generation
  3. Sorting

To run the application:

Install modules

pip install pygame

Run to get started right away!:

python app.py

To use the tool:

Different coloured squares represents the following:

Color Representation
White Empty Square
Black Barrier
Red Visited
Green To be visited
Orange Start Node
Teal End Node
Purple Shortest Path

Basic Keys:

Key Function
Backspace Clear Screen (Maze)\Increase execution Speed (Both)
Tab Switch off or on grid (Both)
Mouse Right Click Clear node or obstacle (Maze)
Mouse Left Click Add Node or obstacle (Maze)
Space Shuffle (Sort)
R_Shift Invert (Sort)
Escape Return to previous page
h Help

Note:

  1. Maze algorithms don't work if start and end nodes are mentioned already.
  2. Path finding algorithms work only if start and end nodes are mentioned.
  3. Sort algorithms work only when lines are shuffled

About

Build perfect mazes and find solutions using different algorithms and visualize different sorting techniques

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages