No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Andrew Hessler 96ed0e39c3 clean up
2025-01-06 14:13:10 -06:00
src clean up 2025-01-06 14:13:10 -06:00
.gitignore init 2024-12-08 16:21:36 -06:00
Cargo.lock adjustments 2025-01-04 13:33:37 -06:00
Cargo.toml adjustments 2025-01-04 13:33:37 -06:00
README.md Update README.md 2025-01-04 23:40:04 -06:00
THOUGHTS.md Update THOUGHTS.md 2025-01-04 13:41:20 -06:00

PaintByAlgo.webm

Paint By Algo (aka Bevy Pathfinder)

Algorithm playground

How to play

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