Truchet tiles are a way to make art out of interlocking square images. Each square has connection points on all four sides, which lets them fit together in any rotation or configuration.
And then I wrote this sketch which randomly rotates the tiles and places them in a grid:
Here are some example outputs:
for loop to position them in a grid.