-
Notifications
You must be signed in to change notification settings - Fork 320
Open
Description
What?
Hi all. I could not find a pathfinding javascript library that is maintained, simple, and support weights. So i decided to fork this library and publish it on npm as javascript-astarf short for javascript-astar-fork.
Link: https://github.com/Andrioden/javascript-astarf
I do this in full respect of your work @bgrins , and hope you do not mind.
Improvements:
- Uses modern javascript; allows module import like
import { AStar, Graph } from "javascript-astarf" - Fully jsdoc typed; AStar.search is typed to return
GridNode[] - Cleaned up the README.md so things are more clear with more examples.
Issues fixed:
- This issue should be fixed: Pathing randomly fails after first search. Pathfinder doesn't reset closed nodes after search is complete. #52
- I couldnt figure out how to reproduce it, but i assume the reports are correct
- fix: Andrioden@634cebc
- This issue should be clearer: Grid Array #70
- This issue is reverted: Revert this PR #67
- fix: Andrioden@a87eeb3
- This issue is partly fixed: Diagonal heuristic computes square root of 2 every time it is used #51
Metadata
Metadata
Assignees
Labels
No labels