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
1
u/[deleted] Apr 24 '13
I'm pretty sure it was done on purpose. It takes a lot longer to calculate a sine/cosine than just adding some fixed value. Although I don't see why of all possible things they thought THAT was the best they could do to optimize things.