Parable of the polygons

Interesting visualization tool. You start with a mix of triangles and squares. There are rules that determine whether a shape is happy or not, based on the neighboring shapes being the same type (bias).

Hard to explain, but spend a minute stepping through each scenario and you’ll see the point of the exercise.