r/programming • u/hazadess • Apr 23 '13
PathFinding algorithm, visually explained
http://qiao.github.io/PathFinding.js/visual/
2.2k
Upvotes
r/programming • u/hazadess • Apr 23 '13
View all comments
Show parent comment
17
u/Nanobot Apr 24 '13
The demo doesn't mark every cell the algorithm looks at, only the cells that the algorithm considers potential forks in the road. The smart thing about JPS is it's designed to be good at recognizing when cells aren't really forks in the road, so it requires much less recursion.