how to construct double rainbow tesselations

They’re built with alternating (what I call) h-lines and v-lines. An h-line consists of four squares, two on either side of a horizontal line, with equal sums a+b=c+d and aligned edges. The tesselation is first written in digits on a square grid marked with lines like a wire screen door, then constructed by drawing any h- or v-line from the grid and working outwards from there.

Start with any h-line: e.g. 3+4=2+5:

Rendered by

Extend the arithmetic progressions along the diagonals:

Rendered by

Then fill in a diagonal next to one of these 2, with any arithmetic progression. e.g:

Rendered by

All the empty squares have now been determined and can be filled in, making the sums a+b=c+d equal across all line segments (the h-lines and v-lines).
Then when drawing the tesselation, draw the squares of negative size on the other side of the line from where they ‘should’ be, e.g. 2+5=10-3:

Rendered by

It seems that any grid of numbers constructed this way makes a tesselation of the plane.

Also, it seems that all the 0-sized squares (I mark them with a small circle) lie in a straight line in the tesselation, no matter what sequences are used. I’m sure there’s an obvious reason for that!

The square packings I found a few years ago are each a subset area of one of these tesselations, where there’s only 1 of each sized square.

[Dec 2016]