Xmodal / autonomX

Experiment with life-like processes to generate dynamic, emergent and self-organizing patterns and output these patterns via OSC.
10 stars 4 forks source link

Implement Connway's "game of life" as a new type of generator #246

Closed alx-s closed 3 years ago

alx-s commented 3 years ago

Implement a new generator type "game of life"

Criteria

Technical details

Questions

alx-s commented 3 years ago

Here is an example of implementation taken from Ikegamis's book on ALide : https://github.com/alifelab/alife_book_src/blob/master/chap02/game_of_life.py

puneet798 commented 3 years ago

Need elaboration on 3rd point in the criteria before merging into dev.

alx-s commented 3 years ago

@puneet798 My idea is the following: GoL cells are binary, either alive (value of 1) or dead (value of 0). The inputs can serve as means to "kill" or "make alive" cells via OSC messages. Hence we can imagine that when an input rectangle receives an OSC value of 0 all its cells are instantaneously killed (set to 0). On the other hand, if an input receives an OSC value different from 0 (may it be 1, 234, -0,04...) it turns its corresponding cells alive (set to 1). Does this make more sense?