BFS, Dijkstra and A* interactive demo made in React
Visual explanation of pathfinding algorithms and how a*, Dijkstra and BFS can be seen as the same algorithm with different parameter/data structures used under the hood - npretto/pathfinding
BFS, Dijkstra and A* interactive demo made in React launched on January 17, 2021 with 94 votes, #395 of 3,157 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 5 years on.
In plain words
BFS, Dijkstra and A* is an interactive demonstration of three pathfinding algorithms built with React. It visualizes how breadth-first search, Dijkstra's algorithm, and A* explore and solve pathfinding problems in real time. The tool is designed for students and developers learning computer science concepts, particularly those studying graph traversal and optimization techniques. Users can watch each algorithm's approach to finding optimal paths and understand the differences in how they navigate problem spaces.
written from the facts on this page · September 2026
Does a similar job
all alternatives →- DSDijkstra’s algorithm in the web browser with OpenStreetMap2016 · christophercliff.com · ▲158
Wave function collapse algorithm2016 · github.com · ▲1,226Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics - mxgmn/WaveFunctionCollapse
Visual A* pathfinding and maze generation in Python2024 · github.com · ▲135I was fascinated reading through another recent HN submission about a highly efficient implementation of A* in Lisp, which got me thinking about how I could do something similar in Python. However, these kinds of pathfinding algorithms really need complex terrain/mazes with interesting obstructions to showcase what they can do and how they work. So, I started thinking about how I could generate cool and diverse random "mazes" (they aren't really mazes, but I'm not sure what the best term is). I got a bit carried away thinking of lots of different cool ways to generate these mazes, such…
A gallery of graphs built with React and D3.js2023 · react-graph-gallery.com · ▲297Many JS libraries exist to build graphs on the web (Vega, chartJS, Plotly...). They allow to make charts quickly. But you lose flexibility: you're limited by the options they offer. I just created a gallery with hundreds of graphs made with d3.js and React. - Examples are split by graph types - They all come with explanation and code sandboxes - Gradual complexity to ease the learning curve It took me ages to create this project! Feedback welcome!
A Visual Guide to Graph Traversal Algorithms2016 · workshape.github.io · ▲15Interactive visualisations help explain Depth First Search and Breadth First Search as well as algorithms based upon each approach. A very useful resource for learning by seeing.

Questions this answers
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 14d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 15d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, January 2021
the whole month →

Get the most popular messaging services, all in a single app. WhatsApp, Signal, Instagram, Telegram, and more.
Life & fun · 2021 · beeperhq.com
- IM
Life & fun · 2021 · read.cv


A computer vision engineer by day and photographer by night, I never take the path most traveled, especially when it comes to imaging technology. Thermal
Life & fun · 2021 · petapixel.com

Learn vim fast by building muscle memory. 2000+ engineers learned vim with our hands on training. Train your fingers, master vim commands!
Life & fun · 2021 · vim.so