neighbours
Utils for traversing Moore and von Neumann neighbourhoods.
Installation
$ npm i neighbours
Usage
var neighbours = ; neighbours;// 0 1 1// 1 0 1// 2 1 1// 1 2 1// -1 1 2// 1 -1 2// 3 1 2// 1 3 2// 0 0 2// 2 0 2// 2 2 2// 0 2 2
API
neighboursneighbours
License
MIT