Computes grid cells coordinates
Returns: List of numCellsX * numCellsY rectangles. [[x, y, w, h], ...]
To get a grid like in the screenshot above
var grid = require('grid-cells');
var cells = grid(1024, 512, 4, 2, 10);
console.log(cells[0]); //-> [ 10, 10, 243, 241 ]
MIT, see LICENSE.md for details.