a Node.JS implementation for AStar path finding algorithm. This implementation uses primitive data types (Number and Byte/Buffer) to present location and block data that significantly improve the speed and have a good control on memory consumption
Is is a simple path finding module for NodeJS. This module is designed to be run on the server side
x << 16 | y
# test building a map buffer from 2d arrayarray2d =10000100001011001000width = 4height = 5buf = GridbytesFrom2DArraywidthheightarray2dgrid = widthheightbufpath = syncfinder_astarfindPath1014gridconsolelog "list the path:"consolelog "print out the path on map :"