A pathfinding visualizer made in Python using pygame. Includes:
- Right mouse button click: either set or remove both the start and the end vertex.
- Left mouse button hold: draw walls.
- Right mouse button hold: delete walls.
- Right mouse button hold along with W: add weights.
Check out the images here
- Weighted
- Guarantees the shortest path
- Father of the pathfinding algorithms
- Weighted
- Does not guarantee the shortest path
- Uses heuristic to compute end vertex position
- Weighted
- Guarantees the shortest path
- The best algorithm for pathfinding
- Unweighted
- Does not guarantee the shortest path
- Pretty bad algorithm for pathfinding
- Unweighted
- Guarantees the shortest path
- Usuful to generate random mazes
- http://theory.stanford.edu/~amitp/GameProgramming/AStarComparison.html
- https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
- https://en.wikipedia.org/wiki/Best-first_search
- https://en.wikipedia.org/wiki/A*_search_algorithm
- https://en.wikipedia.org/wiki/Depth-first_search
- https://en.wikipedia.org/wiki/Breadth-first_search
- https://medium.com/swlh/fun-with-python-1-maze-generator-931639b4fb7e