Generate a pyramid of tile positions.
The generate proceeds in a broadly deeper-first fashion. In particular, if a position p is yielded, you can assume that its four children have been yielded previously, unless the depth of p is equal to depth.
The tile depth to recurse to.
An individual position to process.