r/cellular_automata • u/Frank_0x0 • 12h 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/Frank_0x0 • 12h ago
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 • 13h ago
my gpu not strong enough for the resolution in realtime
r/cellular_automata • u/KarstenSiemer • 16h ago
Hi 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
r/cellular_automata
•
u/Hot-Requirement-3485
•
17h ago
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 • 1d ago
I found it with this rule: R3,C0,S1,B1,N@820041850441
r/cellular_automata • u/protofield • 1d ago
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/Think_Resolution_356 • 1d ago
It's called Seed State. This started from a one off idea at a game jam. I'm curious if anyone else has seen anything like this before (I hadn't before I started putting serious time into it).
Also curious if anyone knows about other cool cellular automata that might be fun to design levels around... I briefly looked at Langton’s Ant but couldn't come up with any interesting levels.
r/cellular_automata • u/cenysor • 5d ago
Example of a state-totalistic CA (Moore neighborhood, 8 states).
The individual sums of neighbor cells in a specific state define the next state of the center cell.
E.g. state 0: 3 cells; state 1: 1 cell, state 2: 0 cells... state 8: 2 cells -> next center cell state: 5
This would be 1 of 11440 necessary transition rules for a single rule set.
Link to interactive simulator. Now with shareable URLs! Share your favorite rules in the comments!
r/cellular_automata • u/WasSollIchHierNutzen • 6d ago
It only has n=7 states because of the limited emoticon range and it is mostly for the fun.
r/cellular_automata • u/xangadix • 7d ago
I hope this is allowed
r/cellular_automata • u/matigekunst • 8d ago
Something I made for an interview at Google's PI team a few years ago. I didn't end up showing it, so it has been wasting away. Basically, it's an NCA with a local clock. The visuals come from random sprite sheets. Not all of them work that well, but in general, if not too many pixels appear or disappear, it works quite well. Made in TouchDesigner
r/cellular_automata
•
u/Frank_0x0
•
8d ago
r/cellular_automata • u/WasSollIchHierNutzen • 8d ago
I don't know if this will interest anybody but here I go anyways. I created this library years ago and decided to give it a refresh and add more stuff with the help of LLMs: Github link.
The idea at the time was to make an easy framework to be able to easily define new rules and see them evolve or run them into batch mode.
Built-ins include Game of Life, Falling Sand (Margolus neighborhood), Forest Fire, Langton’s Ant, HPP, plus a couple of continuous toys (diffusion, height-field water).
r/cellular_automata • u/protofield • 9d ago
r/cellular_automata
•
u/matigekunst
•
10d ago
This is a simple model of traffic called the Nagel Schreckenberg model. Each square represents a car. Red means it is at a full stop (stuck in a jam), yellow means it is braking, and green means it is driving at vmax. At each tick, a car increases its speed by 1 or adjusts its speed so it doesn't crash, and with probability p(dawdle) it randomly brakes and decreases speed by 1. Through these very simple rules traffic jams can emerge. This is a little TouchDesigner simulation I used to research my video about phantom traffic and its solutions. If you set vmax to 1 and p(dawdle) to 0, you get Wolfram's rule 184
r/cellular_automata • u/Pretty-Pay-4015 • 11d ago
is it known that this pattern creates 4 gliders? it’s a bakery with a diagonal line between the half-bakeries. idk if this is the right place, but im just putting it here bc it will be deleted on the cgol subreddit.
r/cellular_automata • u/Beautiful_Stage5720 • 11d ago
I wrote a "sim_display" vhdl module that takes a 2-D array of colors (record type with RGBA) with configurable width/height. It also has an update bit that tells the plugin when a new frame is ready. At the start of simulation, my plugin opens an SDL window and creates a texture the same size as the width/height generics for the display module. The plugin checks the update bit every rising edge of the clock and, when it's high, it updates and renders the texture to reflect the colors that were passed in on the same clock edge. This idea started as a debug tool to use along waveforms, but it turned out to just be a fun toy lol.
To test it, I implemented Cyclic Cellular Automata, where each cell is its own module instantiation. I had so much fun doing this, that I also made a generic "cellular_automata_grid" module, where you can implement custom cell logic as its own entity and pass it to the grid with a configuration block. That way, it will be trivial to implement different rulesets in the future.
Right now, I just have local repos and haven't uploaded them anywhere, but if enough people are interested, I'm happy to share the source!
r/cellular_automata • u/matigekunst • 11d ago
This video is about the phenomenon Phantom Traffic and the automata that underlie it. I mainly talk about the Nagel-Schreckenberg model which is related to rule 184. There's a lot of different models of traffic out there and NS js not the one used by my friend's research in the video, but Nagel-Schreckenberg does show nicely how simple rules can lead to emergent behaviour like traffic. Hope you enjoy!
r/cellular_automata • u/pavlokandyba • 11d ago
This model simulates the Coulomb interactions between ions (red), electrons (blue), and neutral particles. On the surface of the bacteria, a redistribution of charge occurs simultaneously with the bending of the cell wall; this is interpreted as regions of low and high pressure.
As a result, the organism moves due to electrostatic forces and elastic contacts. In the absence of these, it would behave like a Brownian particle. A key factor here is the time lag of the charges attempting to screen the cell envelope—an effect analogous to vortex shedding. This draws a natural parallel to the Strouhal number, which defines a narrow range for effective oscillatory motion.
The code ("microbio") and a link to a browser-based version of the simulation can be found here:
https://github.com/MasterOgon/Aeroacoustic-Flying-Saucer-Oscillating-Resonator-CFD-Simulation-LBM-
r/cellular_automata • u/Frank_0x0 • 12d ago
Suggest any task/system that would be interesting to see the automatons achieve.