Skip to content

JayDbb/A-Pathfinder-With-Visulization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A* Pathfinder With Visulization

An A* Pathfinding algorithm made completely in python.

Features

  • Full GUI
  • Choose custom start and end points
  • Draw custom obsticles
  • Choose to visualize path finding process

Requirements

This project requires pygame to be installed which can be done with one of the following commands depending your operating system and configuration:

pip install pygame
pip3 install pygame
python -m pip install pygame
python3 -m pip install pygame

Usage

Plot Points

Choose the start and end coordinates for the pathfinding algorithm and choose if you wan visualization enabled.

Custom grid sizes are not yet supported so the coordinates have to be in between 0 and 29.

Once you have choosen the options you would like click "Submit" or push the Enter key on your keyboard.

Draw Barriers

Now you can define barriers you want the algorithm to avoid. To do so click and drag with your mouse on the grid.

Find Path

Once you are ready to start pathfinding push Space.

To clear the grid push c.

About

An A* Pathfinding algorithm made completely in python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%