UNPKG

grid-neighbors-1d

Version:

Get the 8 closest neighbors of a cell in a 2d grid when flattened to a 1d array

4 files
../
2.76 kB
688 B
5.47 kB
3.57 kB