Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 955 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 955 Bytes

PathFindingVisualizer

Path Finding Visualizer in Python using Pygame.

Algorithms available :

  1. A* Search
  2. Djikstras
  3. Breadth First Search

Use Guide

  1. Run the visual.py file to run the application
  2. Use the left mouse button to set start and end points
  3. Press 'r' to create a random maze
  4. Press the appropriate button to start the algorithm visualization ( Refer to Key Mappings Section below)

Key Mappings

Button Action
Left Mouse Button(LMB) Set Start Point
Left Mouse Button(LMB) - Second Click Set End Point
Left Mouse Button(LMB) - Subsequent clicks Place Obstacle
Right Mouse Button(RMB) Clear Cell
a Start A* Search Algorithm
d Start Djikstra's Algorithm
b Start Breadth First Search Algorithm
r Create Random Maze. Click Multiple times to increase the density of the maze.