r/cellular_automata 7h ago

Gridwar: Conway's Perimeter

Enable HLS to view with audio, or disable this notification

23 Upvotes

A little project of mine where individual Game of Life patterns compete against each other. Each square's alive cells at the very edge "charge up" the perimeter between them and try to dominate their neighbour.

We are using a Parity Grid ("checkerboard pattern") to assign neighbouring GOL configurations alternating signs +/- which makes the calculation of the perimeter cell charge trivially easy.

When reading from our database of known patterns we can select those of similar lifespan (500-599 generations in our video) which makes for a more interesting dynamic. When using random patterns, most fizzle out very quickly and only a few live for potentially very long lifespans (which would make them dominate the leaderboard).


r/cellular_automata 7h ago

2D reaction diffusion wavetable. That's twice the D

Enable HLS to view with audio, or disable this notification

10 Upvotes

Source code that I'm not pretending I'm too smart to share, but secretly scared you will criticize available here: https://www.shadertoy.com/view/7cyGRz
Song: Escapism by Digable Planets


r/cellular_automata 15h ago

1D reaction diffusion wavetable

Enable HLS to view with audio, or disable this notification

16 Upvotes

r/cellular_automata 16h ago

I FOUND A PERIOD 1 OSILATOR

Post image
5 Upvotes

joke


r/cellular_automata 1d ago

Web app for scanning 1D CA rule space — filters by what a rule never does

Thumbnail
gallery
3 Upvotes

1D cellular automata, 2–5 states, totalistic or local rules. Runs in the browser, nothing to install.

  • Batch filters over rule space — scan a code range or a random sample; auto-tags behavior class, fields, gliders, chaos. The inverted one is the workhorse: draw a template (fixed states, wildcards, equality variables) and a rule passes only if that template never occurs.
  • Tags — anything found (or hand-picked) gets tagged, browsable and filterable; persists locally. Filters can also re-run over already-tagged rules, so you can chain passes.
  • High-res export — renders diagrams up to [N]×[M] px, if you want one as a wallpaper or print.

Demo · Source

What would you filter on that I haven't implemented?


r/cellular_automata 1d ago

[WebGPU] I'm developing XEL: An n-dimensional cellular automata engine. Here is a 3D voxel demo of emergent weather and thermodynamics on a 4.1M block grid.

Thumbnail
youtu.be
3 Upvotes

r/cellular_automata 2d ago

Gallery of 1D Cellular Automata

11 Upvotes

A curated gallery (whatever stood out to me during my experiments lol) of 1D cellular automatons; homage to Stephen Wolfram.
Check out the entire gallery + generate your own: https://galleryofcellularautomatons.site/index.html


r/cellular_automata 3d ago

Video NCA

Enable HLS to view with audio, or disable this notification

36 Upvotes

Extension of the work by Pajouheshgar et al. Instead of photo stamps there are now video stamps. Each pixel has an extra phase layer that drives both the NCA and the LPPN. Each video stamp has a different phase and pixels try to stay consistent with one phase.


r/cellular_automata 2d ago

Short Glider and longer Ship

Thumbnail
2 Upvotes

r/cellular_automata 3d ago

United Colours of Conway: A visualizer for Cellular Automata

Enable HLS to view with audio, or disable this notification

14 Upvotes

Inspired by the Stargate Sequence of legendary Kubrik's "2001: A Space Odyssey", this visualizer takes Conway's Game of Life patterns as its procedural input to produce light streaks.

The twist here is that the initial starting configuration of the pattern is hashed with SHA256 to generated the hash string from which the current and past generational colours are derived (as well as the "depths" of the history).

Try it yourself:

■ FANCY GLYPHS // MAIN_INTERFACE

Find your own patterns or copy the binary string from our public registry of known Glyps:
■ Glyph Registry

Link to the GitHub code (heavily assisted by Google Gemini): ■ lifehashes/fancy-glyphs


r/cellular_automata 3d ago

Made an article on cellular automata, perhaps you'd enjoy it.

8 Upvotes

So basically, it goes like this: a chronological advance from computation with the Turing machine (1936 paper), to von Neumann and a lecture in 1948 about self-reproducing automata, to Conway's Game of Life and a 3D version in 1987 by Carter Bays, also discussing Wolfram elementary cellular automata, before ending up with some of the recent gamedev and scientific applications like Noita, kinda Terraria for water, and the application of the 1987 paper in 2025 by a YouTuber named RedLogic in Minecraft.

https://medium.com/@emiliahoarfrost/code-8-the-cellular-automaton-2f7370f44a1e

Cellular automata: ruleset 30 (base-2: 00011110) of Wolfram elementary cellular automata (1-dimensional) and a generation lattice of Conway’s Game of Life (2-dimensional).

Here's an excerpt as well:

"What if code could do magic tricks? Approximating flowing sand to fluids. Simulating fire and water. See chaos arise from order, in an irreversible fashion, through different rulesets. Perhaps being able to tie itself to cryptography [21, 22]. To producing hypnotizing optical illusions. And influencing other scientific disciplines, or applications such as game design.
In this issue, we will be looking into the cellular automaton, a topic deeply tied to the history of computer science, doing so through milestones. We will look at the concept’s rich and hybrid legacy.
* A cellular automaton is a set of cells.
* Each cell possesses possible states in n-dimensions (starting from 1).
* Each cell of the cellular automaton is able to evolve through generations according to rulesets, dictating behaviors of cells depending on neighborhoods.
[...]
In this article, we have seen that the cellular automaton is a very special concept in computer science. Part I explored the fundamentals of computation with the Turing mahine. Fundamentally, this model of computation gives us information about a single cell in cellular automata that can be comprised of many cells. Part II mentioned how there was a legacy between von Neumann’s theory of self-reproducing automata and Conway’s Game of Life, itself having a ripe heritage in the forms of papers still being released in 2023 (to prove omniperiodicity [8]). Part III was more about a 3D transposition of Conway’s Game of Life, both in a paper by Carter Bays in the late 1980s and in a Minecraft video updated on YouTube last year. Part IV showed us that Terraria and Noita were also using game mechanics reminding us of cellular automata. Alongside possible applications of cellular automata to scientific models [18] or cryptography [21, 22]."


r/cellular_automata 5d ago

A whole bunch of automata made in the past year or so

Enable HLS to view with audio, or disable this notification

134 Upvotes

Sorry for the blank ones (random cell states did not result in further activity except a ubiquitous state)


r/cellular_automata 5d ago

An attempt at explaining Slide Rules

Enable HLS to view with audio, or disable this notification

21 Upvotes

Try Slide Rules: https://sliderules.mysterysystem.com/

Hit the save button and copy code or copy the current address to share automata. Works best on desktop with a browser.

Result from the end of the video: https://sliderules.mysterysystem.com/?n=Conway%27s+Game+of+Life&c=.AALETAIA4AO.BCKCIACAICI.CAAAACYAACI.DCDAJCKCIAJ.EBBAHD.FCL.GGwAA_8IA__8AAP8FAP9mAP__AGb_MwD_zAD__wCZ____AAAA

Please share what you've made!


r/cellular_automata 5d ago

CA seed, yellow centre, generation 1, green.

Post image
7 Upvotes

9k by 9k image, zoom for detail.


r/cellular_automata 6d ago

Just press Play

Thumbnail
2 Upvotes

r/cellular_automata 6d ago

I made an Artificial Chemistry Simulator in Browser

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/cellular_automata 7d ago

Interesting Ruleset that spontaneously spawns gliders and oscillators

Thumbnail
4 Upvotes

r/cellular_automata 8d ago

I built a reddit app so I can share rulesets without video compression

Thumbnail
42 Upvotes

r/cellular_automata 10d ago

Spirals, Ships and Oscillators from an explosion.

Thumbnail
gallery
99 Upvotes

Another ruleset that produces some mesmerizing patterns from initial hex clumps.


r/cellular_automata 9d ago

Ill name these...3?

Enable HLS to view with audio, or disable this notification

0 Upvotes

I have some more(mostly with gaps)that if they aren't named I wanna name)

Also all the oscillators u see u can name them except for 1 that HAS to be called Bob

Also in "painting"(we saw it in another post) if u put symmetrical random it can create an alien/goblin thingy

B3/S0145678=Invasive coral

B3/S045678=specific coral

B3/S014=life generator

B3/S123=rotten Temple

B3/S0123=Temple


r/cellular_automata 9d ago

A lecture about the game of life (comic implementation)

Thumbnail
youtu.be
1 Upvotes

One day, I wanted to implement a "Game of Life." It was purely for educational purposes. Having achieved the desired result, I thought: why not add a little fun?


r/cellular_automata 10d ago

Cyclic rock-paper-scissors CA where you can paint into the spirals while they self-organize [OC, in-browser]

Enable HLS to view with audio, or disable this notification

38 Upvotes

Each cell holds one of N "species" arranged in a cycle: each one beats the next and loses to the previous, so N=3 is literally rock-paper-scissors. The only rule is a local payoff summed over a neighborhood kernel, no cell plans anything. From random noise the grid self-organizes into rotating spiral waves, the same topology you get in the Belousov-Zhabotinsky reaction and in Nowak & May's spatial models.

The spiral is only the entry point. What I actually built is an engine where several mechanisms that are usually studied one at a time run simultaneously on the same grid and feed back into each other: the cyclic CA sets the spatial pattern, an evolving cooperation strategy on the same cells adds a spatial prisoner's dilemma on top (space is what lets cooperators cluster and survive), mutation and drift push those strategies around, and an optional terrain-with-biomes-and-seasons layer biases which species wins where, so populations start migrating toward favorable season bands on their own. Most agent-based models isolate one of these; the whole point here is watching them interact.

And it stays hands-on the entire time. Pause and paint a patch of one species into territory another one owns to see if the spiral front eats it or it takes root, swap the neighborhood kernel on the fly (Moore, Von Neumann, Gaussian, or a ring kernel that turns the spirals into standing-wave kaleidoscopes), edit the payoff matrix or break its symmetry live, and watch the population fractions orbit a simplex. N goes up to a dozen species, so the same engine spans very different regimes.

Runs in the browser, no install, no sign-in (best on desktop): https://destbreso.com/interactive/ecosystem

If you find a parameter regime that does something the clip does not, I would love to see it in the comments. Happy to get into the rule, the kernels, or why the ring kernel behaves so differently.


r/cellular_automata 10d ago

I simulated 40 years of natural selection in Galápagos finches (based on Grant's real data)

Enable HLS to view with audio, or disable this notification

7 Upvotes

r/cellular_automata 10d ago

Ill name these

Enable HLS to view with audio, or disable this notification

1 Upvotes

Basically I was experimenting with this Conway game of life site when I discovered that by making survival 0 and birth 0 it creates an inevrtion of colors and if I change the birth number it changes what happens

If these werent named yet(I doubt they weren't discovered) ill name them like this:

B0 S0:inverted life

B01 S0:map maker

B02 S0: struggle for survival

B03 S0:bubble chaos

B04 S0:chaos

B05 S0:goldilock start

In B02 S0(my favorite) theres a few oscillators mainly in the borders I'd wanna name(remember that since theyre in the B0 S0 line the oscillators will oscillate through the color changes

The little 1 block squares:Microstates

The corner oscillators:side castle

The border oscillators:castle/castle boat


r/cellular_automata 10d ago

Ill name these 2

Enable HLS to view with audio, or disable this notification

0 Upvotes

I don't have any oscillators to name but I have some scenarios to name if they arent named yet (I didnt check)

B012S0=map or nothing

B013S0=Unstable struggle

B023S0=a painting

B014S0=proxy struggle

B0123S0:non-map anhialator

B01234S0=last of his ways

B012345S0=cycle stopper