An open API service indexing awesome lists of open source software.

https://github.com/shhossain/pathfinding

Pathfinding Algorithm Visualize with Kivy(A*,DFS,BFS)
https://github.com/shhossain/pathfinding

Last synced: 3 months ago
JSON representation

Pathfinding Algorithm Visualize with Kivy(A*,DFS,BFS)

Awesome Lists containing this project

README

          

# Pathfinding Algorithm Visulize With Kivy
- A*(STAR)
- Depth frist search
- Best frist search

## How to use ?

###### Frist install kivy with
`pip install kivy`

- ###### Run the `main.py` file.

- ###### SET ANY ROWS YOU WANT (Ideal range 30-50) (ROW increase will affet your perfomence, Total Cells will be `ROWS*ROWS*1.5`)

- ###### SET SPEED (Default 2)

- ###### Frist two points will be start and end (`Ctrl + S` will reset Start,End)

- ###### Tap `c` to create random barriers (Clicking `c` again will create more barriers)

- ###### Click on any cell to create barrier

- ###### Click on any barrier will remove the barrier

- ## After adding start and end cell, with or without any barrier

- ###### Tap `a` to perform 'A(Start) Pathfinding Operation'(If no path is available program will probaly quit)

- ###### Tap `d` to perform 'Depth Frist Search'(If no path is available program will probaly quit)

- ###### Tap `b` to perform 'Best Frist Search'(If stuck just reset it)

- ###### Tap `q` to reset all.

## Advanced Control
- ###### `Ctrl + s` will reset start and end.
- ###### `Ctrl + [2-8]` will stop threads working with that algoritham.