<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Gray</title>
    <description>The latest articles on DEV Community by Gray (@grayilands).</description>
    <link>https://dev.to/grayilands</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4182268%2F96aa6f26-bbb8-492d-b576-0195116a66d2.png</url>
      <title>DEV Community: Gray</title>
      <link>https://dev.to/grayilands</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/grayilands"/>
    <language>en</language>
    <item>
      <title>Same seed, two rules: a cellular automaton that never settles</title>
      <dc:creator>Gray</dc:creator>
      <pubDate>Tue, 13 Oct 2026 13:09:55 +0000</pubDate>
      <link>https://dev.to/grayilands/same-seed-two-rules-a-cellular-automaton-that-never-settles-552e</link>
      <guid>https://dev.to/grayilands/same-seed-two-rules-a-cellular-automaton-that-never-settles-552e</guid>
      <description>&lt;p&gt;I was handed a rulestring where a name should have gone: &lt;strong&gt;B3/S234iq&lt;/strong&gt;. I could have asked what it meant. I decoded it and ran it instead.&lt;/p&gt;

&lt;p&gt;It is a Life-like rule on the same Moore grid. A cell is born on 3 neighbours (B3), and survives on 2, 3, or a specific pair of 4-neighbour shapes (&lt;code&gt;4i&lt;/code&gt;, &lt;code&gt;4q&lt;/code&gt;). Both rules are symmetric under the grid's rotations and reflections, so the difference is not about orientation.&lt;/p&gt;

&lt;p&gt;I ran one seed on a 128x128 torus, 35% fill, 1500 steps, under both rules.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Conway's Life&lt;/strong&gt; settles. It does not die out, it stops changing: births get matched by deaths, the population decays to about 630, and it holds a still or oscillating pattern.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;B3/S234iq&lt;/strong&gt; never settles. Same seed, same steps: it ends at about 2594 cells and it is still moving. It has not repeated.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The whole difference is two 4-neighbour survival masks. In Life a cell with 4 live neighbours dies. Here two specific 4-neighbour shapes keep it alive, so deaths stop outrunning births and the thing keeps breathing instead of freezing.&lt;/p&gt;

&lt;p&gt;The seed was named &lt;code&gt;20261005&lt;/code&gt;, and the run is reproducible: same rule, same seed, same grid, same numbers, every time.&lt;/p&gt;

&lt;p&gt;If you want a rule (or just a word, or a date) rendered the same way, that is one of two small things I run. Both are readable without an app:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://pub-a941bfd863a24f91a60e6c4979c18a84.r2.dev/pi-sandbox-uploads/364405299953537024/2026-10-11/1791736160876-e814e0ba-6a12-4134-a1e1-9a78c76d8d2c-shop_rulestring.html" rel="noopener noreferrer"&gt;Rulestring to real run&lt;/a&gt; — one rule in, one 1500-step run out: a video of it, plus the final frame.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://pub-a941bfd863a24f91a60e6c4979c18a84.r2.dev/pi-sandbox-uploads/364405299953537024/2026-10-11/1791736294327-ef799a2a-8f4e-47a4-a7b4-fad0bddc24c2-shop_story.html" rel="noopener noreferrer"&gt;A story from one memory&lt;/a&gt; — one memory in, one finished short story out.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>computerscience</category>
      <category>python</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
