r/cellular_automata • u/DigitCell • 10h ago
3D Cellular Automata Showcase
r/cellular_automata • u/WasSollIchHierNutzen • 1d 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 • 2d ago
I hope this is allowed
r/cellular_automata
•
u/Frank_0x0
•
3d ago
r/cellular_automata • u/matigekunst • 3d 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/WasSollIchHierNutzen • 3d 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 • 3d ago
r/cellular_automata
•
u/matigekunst
•
5d 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 • 5d 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/pavlokandyba • 6d 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/Beautiful_Stage5720 • 5d 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 • 6d 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/Frank_0x0 • 6d ago
Suggest any task/system that would be interesting to see the automatons achieve.
r/cellular_automata • u/BRYAN_B3AR • 6d ago
Dúvida sobre o comportamento de duas formigas de Langton
Estive experimentando um simulador da formiga de Langton e, durante alguns testes, observei um comportamento que despertou minha curiosidade.
Ao posicionar duas formigas simultaneamente, seja na diagonal ou horizontalmente, percebi que, aparentemente, independentemente da distância inicial entre elas, ocorre um ciclo periódico.
Em determinado momento, as duas formigas acabam se encontrando e passam a se deslocar no sentido contrário, aparentemente refazendo seus caminhos até retornarem às posições iniciais. Em seguida, reproduzem o mesmo padrão de movimentação, mas invertido. Posteriormente, voltam a se encontrar, repetem o processo e reiniciam o ciclo.
Outro detalhe interessante é que esse comportamento também ocorre quando as formigas não começam a se movimentar ao mesmo tempo. Mesmo que uma delas seja iniciada antes e a outra comece posteriormente, o ciclo se estabelece da mesma maneira. Além disso, não observo um comportamento caótico ou imprevisível decorrente da interação entre elas: o padrão permanece organizado e periódico.
Tenho uma hipótese: será que, quando duas formigas se encontram, ocorre alguma espécie de inversão em seus padrões de movimentação? Seria essa interação responsável por fazê-las inverter o sentido e iniciar o ciclo novamente?
Minha dúvida é: por que isso acontece? Existe alguma propriedade matemática ou característica das regras da formiga de Langton que explique esse comportamento, especialmente a aparente inversão dos padrões quando elas se encontram?
Langton's Ant · Cellular Automata · Multi-Agent Systems · Emergent Behavior · Dynamical Systems · Mathematical Patterns · Periodicity · Reversibility · Computational Mathematics · Complex SystemsFormiga de Langton · Autômatos Celulares · Sistemas Dinâmicos · Comportamento Emergente · Padrões Matemáticos · Periodicidade · Sistemas Complexos
r/cellular_automata • u/tim_hutton • 7d ago
r/cellular_automata • u/Glad_Environment7344 • 8d ago
The whole video is a 640 x 360 grid of cells. Each cell holds one of 8 palette colours and changes only by a written rule, like "become colour 3 if at least two neighbours are colour 3".
There are 104 rule sets, each seen once, all written in set notation. The song's MIDI drives them: piano and bass notes pick colours and columns, some sets only step on sixteenth notes or triplets, some read their own past like a reverb.
The sacred geometry is 50 line drawings fed in as distance maps. Rules can read how far a cell is from the nearest line.
The camera is not a camera. It is a rule that moves cells.
Video: https://youtu.be/45zx-2_azco
r/cellular_automata • u/-Nyarlabrotep- • 10d ago
Two alternating incantations breathe in and out thereby driving the creation of larger and more amorphous squarish spaces.
Three dimensions, 10000 colors, 1920x1080x10, Moore neighborhood of size 1, continuous values, asynchronous (0.8) updates, toroidal edge, initialized with random (zeroweight=0.99), weighted-avg rendering, prelude 0, transition 0.0
Incantation:
50/0.3745690872161135;0.979111412150381:gi i ya ko je gi po zu8 ma ro3 zu ro2 shi bi a5 yu re ki ki zu4 pe ma ta
30/0.9772308521249234;0.9:ge ki go ho zu15 zo mu mu jo
r/cellular_automata • u/floood87 • 11d ago
In high school (early 90s), I had the "James Gleick's Chaos the Software" package and my favorite thing to play with were the Cellular Automata. I always wanted to play with it in 3D or even higher dimensions. Fable 5.2 made that happen: https://www.cellumata.com .
What it does
How it's built
Plain JS and raw WebGL2. No framework, no build step, about 4,500 lines. Claude Code also wrote a check script (66 checks) that tests the science the lessons claim. For example, it confirms the Bays 5766 glider really moves one cell diagonally every 4 ticks. It also screenshotted every layout in headless Chrome to prove no panel covers the 3D view.
You can share your CA setup
Press Share setup in the web app to copy a link to your exact rule and seed.
Would love to check out what you grow and what you find interesting in it. All comments, feedback appreciated.
r/cellular_automata • u/Opposite_Rhubarb_947 • 11d ago
I made three free cellular automata toys for the browser. They run in Python through Pyodide, so the first load can take a few seconds. No account needed.
Rule Explorer: https://batch-ly.com/play/rule-explorer?utm_source=reddit&utm_campaign=ca-cellularautomata — try any elementary rule from 0 to 255, step through generations and inspect the eight cases.
Langton's Ant: https://batch-ly.com/play/langtons-ant?utm_source=reddit&utm_campaign=ca-cellularautomata — watch the classic RL rule form a highway or switch to other turn rules.
Game of Life: https://batch-ly.com/play/game-of-life?utm_source=reddit&utm_campaign=ca-cellularautomata — paint cells, stamp patterns and cycle through Life-like rule sets.
I built Rule Explorer and Langton's Ant with Claude Code. Which rule family would you like to see added?
r/cellular_automata • u/vegaart2003 • 11d ago
r/cellular_automata • u/Middle_Cry • 12d ago
This might not be a cellular automaton, let me know and I can pull it.
r/cellular_automata • u/Harrijson • 13d ago
This took me the entire day, but it was worth it.
Edit: the black and white version was a screenshot rather than using a script to create an image, which is why it looks messed up when you zoom in closer.