ohadschn/Pathfinding-Algorithms-Visualizer

★ 0Forks 0GitHub ↗Compare

README

Pathfinding Algorithms Visualizer

The following code visualizes the solving process of common pathfinding algorithms.

Choose a start and an end point, create barriers and run either A*, BFS (Breadth First Search) or Dijkstra algorithms!

A* -> BFS -> Dijkstra:

Screen.Recording.2021-11-11.at.10.57.19.mov

Operating instructions:

  1. Choose a start (orange) and an end (turquoise) point (first and second left-clicks accordingly)
  2. Create barriers (left-clicks) Right click on any block to reset it
  3. Choose an algorithm to run: 'a' key - A* 'b' key - BFS 'd' key - Dijkstra
  4. Reset the grid ('n' key) and start again!

Contributors

rotemnadler

Issues