Skip to content

karolzwolak/a-star-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

A* visualization with interactive controls

Script visualizing A* pathfinding algorithm with interactive window where you can add walls and mode nodes.

Running

Requires python >= 3.7 and pygame module. install pygame with:

pip install pygame

run the script with:

python a-star-visualizer.py

After running you will be prompted to enter size of cells in grid. You can press enter to go with defaul value.

Controls:

  1. space - start finding the path or pause finding (when paused press esc to abort finding or space to resume it )
  2. c - clear the board, and walls
  3. p - clear path
  4. s - switch start and target node
  5. esc - leave

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages