Search
grid-neighbors-1d
Get the 8 closest neighbors of a cell in a 2d grid when flattened to a 1d array
0.1.0
0.1.1
0.1.2
1.0.0
2.0.0
2.1.0
main:
https:/unpkg.com/grid-neighbors-1d@2.1.0/dist/index.js
Copy URL
module:
https:/unpkg.com/grid-neighbors-1d@2.1.0/dist/index.js
Copy URL
Browse on unpkg