Routing algorithms visualized

secretsofmaps.com built by Adam Kulikowski offers an interactive walkthrough of popular #routing algorithms like BFS, DFS, Greedy, and A*, complete with animated #visualizations. Explore and compare these pathfinding algorithms at your own pace.
Author
Published

October 2, 2025

secretsofmaps.com hosts a set of interactive visualizations of various routing algorithms: BFS1, DFS2, Bidirectional BFS, Greedy, A*, Bidirectional A*, and A* plus Lookup Table. The whole site is a kind of interactive tutorial that guides you sequentally through the routing algorithms.

Bidirectional breadth-first search routing

The site says “How does Google Maps work? – Explore the algorithm”. But as far as I could see the site is not affiliated with Google. It is built by Adam Kulikowski based on earlier work by Jan Pánek.

Recommendation for the more trivial algorithms: Use the slider to speed up the animations.

Footnotes

  1. Breadth-First Search↩︎

  2. Depth-First Search↩︎