Shows visually how the A* pathfinding algorithm works
math
and pygame
- Clone the repo
git clone https://github.com/Ollie-Edwards/pathfinding-visualisation-pygame.git
- Install PIP packages
pip install math pip install pygame
- CD into the project file
cd pathfinding-visualisation-pygame
- Run the program
python main.py
- Right click once to place the start node
- Right click again to place the end node
- After placing the start and end node, any further right clicks will create barrier nodes
- Left click to remove unwated barrier nodes
- Press space to start the visualisation