The code is a nightmare, but a tiled background emerges.