r/cellular_automata • • 14h ago

Is this known?

Post image
19 Upvotes

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 • • 34m ago

How Phantom Traffic emerges

16 Upvotes

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 • • 18h ago

mnca as fish patterns

13 Upvotes

r/cellular_automata • • 18h ago

I made a plugin for GHDL so I could design cellular automata in VHDL

4 Upvotes

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!