Square spiral tiling, plus color change, minimal code. Adjust "increase" before clicking flag a second time for new pattern. My favorite is at increase of 24 or 12. To change costume hit spacebar.
Why do these patterns result? I drew the bird tile to copy one by MC Escher.