PATHFINDING ALGORITHM VISUALIZER
Watch A*, BFS, and DFS navigate a maze in real time step by step. Build your own maze, set your goal positions, and see how each algorithm thinks differently.
algorithms
A*
A-Star
OPTIMAL PATH
Uses heuristic to find the shortest path with the least exploration.
BFS
Breadth-first search
SHORTEST PATH
Explores all neighbors evenly. Always finds the shortest path, visits more nodes.
DFS
Depth-first search
FAST EXPLORE
Dives deep before backtracking. Fast but does not guarantee the shortest route.
How to play
01   Press generate maze to create a random maze, or activate all walls for a closed grid.
02   Choose A*, BFS, or DFS from the dropdown menu.
03   Press start and watch the algorithm explore node by node.
04   The player moves along the discovered path once finished.
node status
Start node
Target node
Queued / open
Processing
Final path
Unvisited
system features
Maze generation
Procedural mazes using iterative DFS. Different every time.
Animated steps
Each node pulses and changes color as the algorithm visits it.
Camera orbit
Drag to rotate the 3D view. Scroll to zoom in or out.
Random positions
Start and goal spawn at random carved cells each generation.
controls
LEFT MOUSE DRAG   Orbit camera around the maze
SCROLL WHEEL   Zoom in and out
Unity 6 WebGL C#
Published 2 days ago
StatusReleased
PlatformsHTML5
AuthorTIPixels
GenreEducational
Made withUnity
Tags3D, algorthim, pathfinding, Visualization

Leave a comment

Log in with itch.io to leave a comment.