HN Hall of Fame Weekly email

PathFinding.js

Screenshot of qiao.github.io captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 7 calendar years, with breakout response in 3 of them.

submissions
12
submitters
11
observed span
2013–2021
peak thread · 47 comments
337 pts
latest 20+ return · 2019-03-02
186 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

One trick I've used quite a bit in games I've written is to do a breadth-first search of the entire playfield, with no termination, resulting in data for how to get from any tile to the destination. This has a few nice advantages: * Breadth first is trivially broken up to iterate over multiple frames, amortizing the cost of visiting each tile * It reduces the worst case as the number of enemies scales up but the destination counts are…

Some friends and I made pathfinding visualizations that use real map data from the OpenStreetMap project, it gets messy pretty fast. http://kevanahlquist.com/osm_pathfinding/

kevan·215-point thread·

and then there's this awesome thing: https://anvaka.github.io/ngraph.path.demo/ https://github.com/anvaka/ngraph.path

Love it!! Very nice work.

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
3

100+ points or 50+ comments

Total points
791

reference only — not used in Hall rules or ranking

Total comments
93

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2013-04-22PathFinding.js A*, Dijkstra, BFS interactive demobcjordan250
2013-04-24Interactive Path Finding Visualizationvampirical10
2013-04-24PathFinding Algorithm, Visually Explainednonrecursive30
2014-03-04Path finding algorithm visualizationxbryanx30
2014-09-22PathFinding.jsFirst breakout · Best threadWestCoastJustin33725
2015-05-27PathFinding.jskamaal21547
2015-06-04PathFinding.jssteeples20
2016-12-13PathFinding.jsolalonde50
2017-05-13Pathfinding algorithms visualizedjonbaer91
2019-01-31Pathfinding.js (playground)mromnia20
2019-03-02Pathfinding.js – Visualizations and PlaygroundHall induction · Latest 20+ point returnmromnia18620
2021-01-26Pathfinding.js Algorithm VisualizerTheHideout30