项目作者: Audarya07

项目描述 :
A-Star Pathfinding Visualizer using Pygame
高级语言: Python
项目地址: git://github.com/Audarya07/AStar-Pathfinding-Visualizer.git
创建时间: 2020-07-23T18:03:04Z
项目社区:https://github.com/Audarya07/AStar-Pathfinding-Visualizer

开源协议:

下载


A * Path Finding Visualizer

Path Visualizer

This code is writen in Python and GUI is made using PyGame.

Requirements

  1. Python 3.x
  2. PyGame - install using pip install pygame

How To Visualize

  1. Run python main.py
  2. When the window appears with the grid, left click on any one cell as start point.
  3. Left click on any other cell as end point.
  4. Now draw obstacles by holding left click and dragging the mouse.
  5. Once the obstacles is created, press SPACE to start the visualizer.
  6. To clear a specific cell, right click on the cell.
  7. To clear the whole grid, press C.