The origin of this project is from here
The recursive version of the grid-generating algorithm is not mine, I ported it from python code written by reddit user /u/wadehn here
The Cartesian coordinate system has four quadrants
We split each image into quadrants
And each quadrant into four more quadrants
And continue doing so until each quadrant is a pixel.
We mark each square that matches the RegExp .*1.*