# A (kind of) cellular automata, based on environment

**URL:** <https://discourse.processing.org/t/a-kind-of-cellular-automata-based-on-environment/21367>\
**Category:** Gallery\
**Created:** [May 28, 2020, 11:24am UTC](https://discourse.processing.org/t/a-kind-of-cellular-automata-based-on-environment/21367 "2020-05-28T11:24:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexfreeman](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@alexfreeman](https://discourse.processing.org/u/alexfreeman)\
**Post date:** [May 28, 2020, 11:24am UTC](https://discourse.processing.org/t/a-kind-of-cellular-automata-based-on-environment/21367/1 "2020-05-28T11:24:34Z")

</div>

A cellular automata based on environment rather than population.  
Cells have a set chance of moving in each direction, life, “mutation” and other parameters.

The idea is that perhaps when the enviroment becomes more complex, so will the behaviour of cells. I plan to make the environment more complicated, add new kinds of objects and see if anything interesting emerges. Currently environment can only increase or decrease a cell’s life. Many cells can occupy one grid square, this probably needs fixing.

Maybe someone has done something similar, I did not look for other projects like this.  
If anyone is interested in code, let me know and i will post it here.

[![](https://img.youtube.com/vi/tcpbknyxo7w/maxresdefault.jpg "Cell population moves") ](https://www.youtube.com/watch?v=tcpbknyxo7w)

[![](https://img.youtube.com/vi/uDLusU2HTHY/maxresdefault.jpg "Sustainable cell population #1") ](https://www.youtube.com/watch?v=uDLusU2HTHY)
