speed
:
1
2
3
4
5
6
7
rules
: pixel changes based on color count of
8 neighbers
cytoplasm: slowly grow
cell wall: quickly grow around cytoplasm
virus: grow inside cytoplasm, destroy cell wall
/
⇒
if
= 3
⇒
if
> 3 |
= 0
⇒
if
= 0
⇒
if
> 1
⇒
if
> 0 &
> 0 &
= 0
⇒
if
= 3 | (3 >
> 0 &
> 0)