Turbulent "Life" of Primes
Your browser does not support the HTML5 canvas tag.
Use a,d,w,s keys to move the pattern.

This beautiful pattern is formed from prime numbers. Positions (x,y) of each black pixel satisfy the following condition: x xor y - is a prime number.

There are many possibilities to generate patterns using a similar approach. For example, by changing the condition to the following: x xor y is divisible by 3, 5, 7, etc

Your browser does not support the HTML5 canvas tag. Your browser does not support the HTML5 canvas tag. Your browser does not support the HTML5 canvas tag.

What if we use these patterns as initial configurations in Conway's Game of Life?
Let's draw live cells in blue and black. Cells that belong to initial state will be colored in blue.

Your browser does not support the HTML5 canvas tag.
Step: initial

To start/stop the game or use B, N to move to the next turn and R to reset. The first configuration, after about 770 steps becomes stable and only few intial pixels survive.

Variants of the initial configuration:

References

Last updated: 12.04.2020,
created: 04.08.2018.