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
4
u/ixache Apr 24 '13
No you're wrong now and you were (accidentally) right the first time around
41% is the speed advantage taking the diagonal of a square instead of the side, per unit of time. Because the diagonal is 41% longer than the side: (1.41-1)/1*100.