r/cellular_automata • u/revcmods • 5h ago
r/cellular_automata • u/Hot-Requirement-3485 • 7h ago
A grid with no update rule: each cell holds one instruction, and the programs laid out across them copy themselves and evolve
This is Evochora. It isn't a cellular automaton in the strict sense, because there is no global rule that updates the cells. Every cell of the grid holds one molecule, for example an instruction, a number, energy or an obstacle. An organism is a virtual machine whose program lies in those cells. It moves its pointers through the grid, executes the instructions it finds, and can only see and change the cells around its pointers.
To reproduce, an organism writes a copy of its program into free cells, one cell at a time, and the copy can come out mutated. Every instruction costs energy, which the organism has to collect from the grid. Nothing rewards or ranks the organisms. A lineage lasts as long as it finds energy and room.
The video shows a population spreading over the grid. The colours mark lineages.
How the grid, the machine and the energy rules work is written up here:
Runs in which something evolved, with videos: https://evochora.org/#experiments
Live demo: https://evochora.org
You can click any organism and step through the code it executes.
Code (MIT): https://github.com/evochora/evochora
Built with AI assistants (AI policy: https://github.com/evochora/evochora/blob/main/AI_POLICY.md)
If you think one of these rules is wrong or missing, I'd like to hear it, here or in the discussions on GitHub.
r/cellular_automata • u/Pongo200 • 15h ago
Is this Sierpinskis triangle?
I found it with this rule: R3,C0,S1,B1,N@820041850441
r/cellular_automata • u/protofield • 23h ago
Multiple State Cellular Automata Modulo 8
Nice regular features. Exponentiation, 2^4, distributes cleanly across addition, a property sometimes referred to as the “Freshman’s Dream” in modular arithmetic. 16K by 4k section.
r/cellular_automata • u/Frank_0x0 • 3h ago
A new type of adaptive DNA-based Cellular Automata: each under 30KBs
I have written papers that explain how everything works and how I got here and beyond.
Reality can be whatever we want, have fun :)
r/cellular_automata • u/ColourTann • 4h ago
new feature- timelapse
my gpu not strong enough for the resolution in realtime
r/cellular_automata • u/KarstenSiemer • 7h ago
Physaum slime mold simulator
galleryHi all!
Some years back I have found a repo by Michael Fogleman, where he showcased a physarum simulation and I was mesmerized and wanted to create my own for the browser but never found the time.
Thanks to claude, the time required to do it and the negging effort on starting was reduced enough that I decided to give it a swing.
It pretty much one shotted something comparable to Folgemans and I played around with my little slimey friends.
I then read up on some papers on mold behavior and noticed, there a lot of situations where the classic physarum algorithm by Jones paper from 2010 is not accurate at all.
It missing a lot of behavioral patterns, like this model is not producing slime nor trying to avoid it.
Physarum mold doesnt have a brain, yet it can make decisions. It is doing a lot of that using slime it is leaving behind.
Or, a famous experiment used physarum to map the tokio rail roads efficiently. Do do that, the simulated mold actually needs to pump plasma in its tubes. Where plasma flows stronger (between food), we need to increase growth and where it flows weaker, we need to kill of agents to have these arms fade away.
I used the tests recorded in the scientific papers as a test to develop the simulated physarum model. When my model produces the same result as the paper, it is closer to the real mold then the base line Jones model from 2010.
So I tested and tested. Day and night for almost 3 to 4 weeks until I was able to get to the solution presented in the repo. It was quite stressful even, somehow. Even though claude did most of the actual work, but guiding it was quite tough over the long run.
The hardest part was getting the outer cell barrier somewhat correctly. I couldnt find a paper that has a model of the whole physarum, only part and these models never really fit together nicely.
Anyways, you can play around with slime mold.
Feed it, cut it, place it, let two strains fight each other, place electrodes and even recreate the tokio experiment and watch the slime mold building up the rail roads more and more efficiently with time.
And you can turn off certain things of the model and see how it will react differently now.
Have fun!
Feel free to give it a go: https://github.com/KarstenSiemer/physarum-slime-mold
Its also deployed to github pages: https://karstensiemer.github.io/physarum-slime-mold