[Squeakland] cellular automata
Kevin Lawrence
kevin at diamond-sky.com
Thu Apr 28 09:27:54 PDT 2005
Randy,
My buddy Jeff made a CA with eToys. The hardest part was figuring out
how to layout the grid (we did it recursively and posted to this list
about it).
Each cell had different color 'probes' to look at the state of its
neighbor like this :
r
|
----
| |
g-| |-b
| |
----
|
y
It would 'look' at its neighbor like is
test cells' blue sees black
yes ....
no ....
Credit for the 'probes' idea goes to my buddy Jeff. I would have kept a
reference to each neighbor, but the probe thing feels more 'etoys friendly'.
Kevin
More information about the Squeakland
mailing list