Turbo mode if you want to skip most of the recursion process.
Just squares recursively dividing into 4 smaller squares, but the depth of recursion is given by the average grayscale value of the region.