Alternating Square Pattern

I realize this is a silly picture, but I’m interested in making the pattern in the background. With my current knowledge of the shader editor, I just come up short. I’m less interested in the color, though that is a plus, but I’m more interested in the shape. That slightly alternating square texture. Does anyone know how to achieve this?

Do you need to do it in Blender, why not make in Photoshop or even MS Paint.


The “Do fun things” group can be changed to change the pattern of the squares.
The aspect ratio of the squares can be changed by changing the scale in the Mapping node.
The Voronoi Texture node is just to get the coordinates of the squares, which are used to pick a color.


Perfect! Thanks so much!