- python 3.8.0
- pygame module installed
if you don't have pygame installed, type
pip install pygamein terminal
Type the following command in terminal inside the project:
python main.py
and a pygame window will open up as shown below:
You can select any algorithm and choose the start and end point and hit space to get started
- GREEN => Start Node
- BLUE=>End Node
- WHITE=>Barriers
- PURPLE=>Path
You can press left mouse button and swipe through the window to make barriers, and right button swipe or click to erase barrier
- SPACE => To Start the path finding visualizer
- m=>Return to main menu
- r=>Reset the grid
Hope you like the path finding visualizer, hope you like it...
Thank you