canvas grid generated by window size and on resize, grid adds up to even number of blocks of 2x2 square grid