Canvas grids refactored to array of indicies into rgb greyscales