A* Algorithm
Written by Phillip McIntyre Jr, 2015
Legend
- Blue: Start
- Red: End
- Black: Walkable
- Green: Obstacle
- Dark Gray: Searched using A*
- Light Gray: Searched using Dijkstra
- Yellow: Ideal Path
Instructions
- Press 'A' to switch between 'F', 'G', and 'H' values
- Press 'S' to step through the Algorithm
- Press 'D' to simulate the Algorithm
- Press 'F' to switch between Dijkstra and A*
- Press 'Z' to reset the map
- Click boxes to toggle between Start, End, Blank, and Obstacles
Settings