Genuary 2026 - 7

Prompt: Boolean algebra

I'm a bit behind after my summer holiday. I was playing around with making each cell be a Boolean combination of its neighbours above and to the left, and when I used XOR the familiar shape of a Siepinski gasket came out and I remembered a Pascal's Triangle hack I typed in from one of those BASIC programming manuals in the early 80s.

Back

The Python script