“Rain”, a cellular automaton
Today we give another simple but visually pleasing example of an N-state CA: if the value of the cell is greater than the average of the von Neumann neighbours minus θ, decrease the value of the cell by one (mod N); otherwise, set it to the successor (mod N) of this average. N = 24 and θ = N/24 gives “Rain”, preferably rendered in shades of blue:
If instead θ = N/12, we obtain “Inferno”, preferably rendered in shades of red (or not at all).