The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Cool visualisations of graph searching: Introduction to the A* Algorithm

Posted by jpluimers on 2025/10/21

This is so cool: graphical [Wayback/Archive] Introduction to the A* Algorithm

It is still being updated, which is even cooler:

Created 26 May 2014, updated Aug 2014, Feb 2016, Jun 2016, Jun 2020, Jul 2023

These are for general graph traversal. That Wikipedia article only mentions depth-first search and breadth-first search, but forgets the A* search algorithm which is an extension of the also not mentioned Dijkstra’s algorithm which in turn is based on breadth-first search.

The visualisations cover the breadth-first algorithms.

The example code is Python based, but easy to translate into other languages.

The visualisation code is in JavaScript, using these files (they Archive.is versions are more accurate than the Wayback Machine ones):

Related:

Via: [Wayback/Archive] Jeroen Baert: “Introduction to the A* Algorithm (very cool interactive visualisations)” — Bluesky

--jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.