Image Source: https://en.wikipedia.org/wiki/Wang_tile#/media/File:Wang_11_tiles.svg
By Parcly Taxel (Free Art License 1.3)
Generating non repeating patterns.
“Wang tiles have recently become a popular tool for procedural synthesis of textures, heightfields, and other large and nonrepeating bidimensional data sets; a small set of precomputed or hand-made source tiles can be assembled very cheaply without too obvious repetitions and without periodicity.” — https://en.wikipedia.org/wiki/Wang_tile
https://www.youtube.com/watch?v=ykACzjtR6rc