项目作者: Audarya07
项目描述 :
A-Star Pathfinding Visualizer using Pygame
高级语言: Python
项目地址: git://github.com/Audarya07/AStar-Pathfinding-Visualizer.git
A * Path Finding Visualizer
This code is writen in Python and GUI is made using PyGame.
Requirements
- Python 3.x
- PyGame - install using
pip install pygame
How To Visualize
- Run
python main.py
- When the window appears with the grid, left click on any one cell as start point.
- Left click on any other cell as end point.
- Now draw obstacles by holding left click and dragging the mouse.
- Once the obstacles is created, press SPACE to start the visualizer.
- To clear a specific cell, right click on the cell.
- To clear the whole grid, press C.