TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pathfinding.js – Visualizations and Playground

186 pointsby mromniaabout 6 years ago

11 comments

leeoniyaabout 6 years ago
and then there&#x27;s this awesome thing:<p><a href="https:&#x2F;&#x2F;anvaka.github.io&#x2F;ngraph.path.demo&#x2F;" rel="nofollow">https:&#x2F;&#x2F;anvaka.github.io&#x2F;ngraph.path.demo&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;anvaka&#x2F;ngraph.path" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;anvaka&#x2F;ngraph.path</a>
评论 #19292400 未加载
评论 #19292468 未加载
razorunrealabout 6 years ago
If anyone has a tougher path planning problem and needs a better heuristic, I wrote an article a few years ago that might help: <a href="http:&#x2F;&#x2F;razorcode.net&#x2F;articles&#x2F;vehicle-path-planning.html" rel="nofollow">http:&#x2F;&#x2F;razorcode.net&#x2F;articles&#x2F;vehicle-path-planning.html</a>
评论 #19293555 未加载
xtagonabout 6 years ago
This is a very useful tool and helped me understand Jump Point Search for a hobby project, which as it turns out is significantly faster than A* for certain use cases.<p>Are there any path finding algorithms for orthogonal grids optimized for frequent changes in the environment, particularly moving opponents in a game where you can&#x27;t predict their next move with certainty? A* and friends do well at finding shortest paths between a start and a goal, but what if the obstacles change after you start along that path?
steverobabout 6 years ago
How does this A* work. It seems almost &quot;intelligent&quot;!!
评论 #19293326 未加载
评论 #19293217 未加载
taneqabout 6 years ago
I was surprised at how much slower the Jump Point Search variants were than vanilla A-star. I thought it was meant to be an order-of-magnitude optimisation over A-star?<p>Also, any idea what the &#x27;Trace&#x27; algorithm at the bottom is? It seems significantly faster&#x2F;more efficient than the others but I can&#x27;t find it in the github repo and the live version of the library is minified.<p>Edit: Ugh, how do I escape an asterisk? &gt;.&lt;
mpolichetteabout 6 years ago
This is so fun, wasted probably 30 min building mazes.
skoschabout 6 years ago
Several years old, but still awesome.<p>Does anyone know what the &quot;Trace&quot; algorithm does? I can&#x27;t find anything on Google.
评论 #19293566 未加载
throway88989898about 6 years ago
For me it hangs on IDA*<p>otherwise mighty well done!<p>Ideas to add:<p>- a short description of the algorithm<p>- zoom out<p>+ knight tour
评论 #19292353 未加载
评论 #19293539 未加载
33aabout 6 years ago
A faster way to find paths on grids <a href="http:&#x2F;&#x2F;mikolalysenko.github.io&#x2F;l1-path-finder&#x2F;www&#x2F;" rel="nofollow">http:&#x2F;&#x2F;mikolalysenko.github.io&#x2F;l1-path-finder&#x2F;www&#x2F;</a>
damajorabout 6 years ago
This is a great demo !!! Very interesting. It allowed me to select the appropriate algorithm for a specific purpose.
huxfluxabout 6 years ago
I love this, useful for teaching purposes!