Colorize Connected Components in Complex Structures

Find and colorize connected components in a cellular automaton.

    
In[58]:=
Click for copyable input
Out[58]=
Running more steps of the cellular automaton:
In[59]:=
Click for copyable input
Out[59]=
New to Mathematica? Find your learning path »
Have a question? Ask support »