PaintByAlgo.webm
Algorithm playground
cargo run
WASD to move
C - Enable Wall Collision (Default: Disabled and is bad)
Build Mode (Left Click builds...)
R - Wall (Default)
E - End
Right-Click - Remove
Default Builds
Z - Build Walls around edge of world wrap
F - to fill or clear Walls
Algorithms (Press Number to paint with)
1 - Dijkstra (Default)
2 - AStar
3 - AggressiveStar
4 - DFS
5 - BFS
J - to pulse pathfinding
H - to highlight path
Q - Rotate direction bias left (most noticeable with DFS in an open space)
T - Rotate direction bias right (most noticeable with DFS in an open space)
X - Toggle random direction bias (Default: off)
P - Toggle world wrap for pathfinding (Default: on)
Maze Algorithms
1 - Wilsons Bounded (Default)
2 - Wilsons
3 - Also Wilsons
N - to generate maze
M - Toggle fast maze building