← All projects

Maze Solver

Draw or generate a maze, compare six pathfinding algorithms, and watch each search unfold step by step.

Maze Studio editor showing a solved maze, algorithm controls, and search statistics

About the project

Maze Solver has grown into Maze Studio, a maze editor and animated pathfinding playground built with plain HTML, CSS, and JavaScript. Draw walls, move the endpoints, or generate a maze, then compare how six algorithms explore it.

  • A*, breadth-first, depth-first, Dijkstra, greedy best-first, and bidirectional BFS search.
  • Pause, step through a search, and adjust the animation speed.
  • Keyboard editing, search statistics, and PNG export.

Try a comparison

Run breadth-first search on a maze, then run depth-first search on the same layout. Use the step control to see how the exploration order changes, and compare the search statistics. Keeping the maze and endpoints the same makes the difference easier to see.