<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Artificial Life on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/categories/artificial-life/</link>
    <description>Recent content in Artificial Life on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 11 Aug 2026 01:34:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/categories/artificial-life/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Digital Life 05: Kill It</title>
      <link>http://programmer.ie/books/digital-life/05-kill-it/</link>
      <pubDate>Tue, 11 Aug 2026 01:34:00 +0100</pubDate>
      <guid>http://programmer.ie/books/digital-life/05-kill-it/</guid>
      <description>&lt;h1 id=&#34;digital-life-05-kill-it&#34;&gt;Digital Life 05: Kill It&lt;/h1&gt;&#xA;&lt;p&gt;We have been too kind to our systems.&lt;/p&gt;&#xA;&lt;p&gt;So far we have:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;initialized them carefully,&lt;/li&gt;&#xA;&lt;li&gt;given them clean environments,&lt;/li&gt;&#xA;&lt;li&gt;watched them evolve,&lt;/li&gt;&#xA;&lt;li&gt;selected examples that behave interestingly,&lt;/li&gt;&#xA;&lt;li&gt;and mostly left them alone.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;That is a dangerous way to study anything that looks life-like.&lt;/p&gt;&#xA;&lt;p&gt;A structure that persists when nothing interferes with it may be interesting.&lt;/p&gt;&#xA;&lt;p&gt;But biological systems do something harder.&lt;/p&gt;&#xA;&lt;p&gt;They persist in a world that keeps interfering with them.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Digital Life 04: When Does a Pattern Become a Thing?</title>
      <link>http://programmer.ie/books/digital-life/04-when-does-a-pattern-become-a-thing/</link>
      <pubDate>Tue, 11 Aug 2026 01:26:00 +0100</pubDate>
      <guid>http://programmer.ie/books/digital-life/04-when-does-a-pattern-become-a-thing/</guid>
      <description>&lt;h1 id=&#34;digital-life-04-when-does-a-pattern-become-a-thing&#34;&gt;Digital Life 04: When Does a Pattern Become a Thing?&lt;/h1&gt;&#xA;&lt;p&gt;Rule 30 gave us structure.&lt;/p&gt;&#xA;&lt;p&gt;But it did not obviously give us a &lt;strong&gt;thing&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The pattern expanded.&lt;/p&gt;&#xA;&lt;p&gt;It changed.&lt;/p&gt;&#xA;&lt;p&gt;Differences propagated.&lt;/p&gt;&#xA;&lt;p&gt;Interesting global behavior appeared.&lt;/p&gt;&#xA;&lt;p&gt;But if I pointed at one region and asked:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Is that the same object ten generations later?&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;the answer was not obvious.&lt;/p&gt;&#xA;&lt;p&gt;So let&amp;rsquo;s change systems.&lt;/p&gt;&#xA;&lt;p&gt;Not because Conway&amp;rsquo;s Game of Life is more sophisticated.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Digital Life 03: The First Surprise</title>
      <link>http://programmer.ie/books/digital-life/03-the-first-surprise/</link>
      <pubDate>Tue, 11 Aug 2026 01:19:00 +0100</pubDate>
      <guid>http://programmer.ie/books/digital-life/03-the-first-surprise/</guid>
      <description>&lt;p&gt;We ended the last chapter by changing one number.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;rule &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;22&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;became:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;rule &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;30&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Nothing else changed.&lt;/p&gt;&#xA;&lt;p&gt;Same world.&lt;/p&gt;&#xA;&lt;p&gt;Same single active cell.&lt;/p&gt;&#xA;&lt;p&gt;Same three-cell neighborhood.&lt;/p&gt;&#xA;&lt;p&gt;Same synchronous update.&lt;/p&gt;&#xA;&lt;p&gt;Same periodic boundary.&lt;/p&gt;&#xA;&lt;p&gt;Same eight-bit lookup mechanism.&lt;/p&gt;&#xA;&lt;p&gt;Only the rule changed.&lt;/p&gt;&#xA;&lt;p&gt;And the spacetime diagram stopped looking simple.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://programmer.ie/images/books/digital-life/ch03-rule30-hero.png&#34; alt=&#34;Rule 30 from a single active cell&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;There is visible structure on the left.&lt;/p&gt;&#xA;&lt;p&gt;There is irregularity on the right.&lt;/p&gt;&#xA;&lt;p&gt;There are repeating fragments.&lt;/p&gt;&#xA;&lt;p&gt;There are regions that look almost patterned and then break apart.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Digital Life 02: Remove Almost Everything</title>
      <link>http://programmer.ie/books/digital-life/02-remove-almost-everything/</link>
      <pubDate>Tue, 11 Aug 2026 01:08:00 +0100</pubDate>
      <guid>http://programmer.ie/books/digital-life/02-remove-almost-everything/</guid>
      <description>&lt;p&gt;In the previous chapter we started with something complicated.&lt;/p&gt;&#xA;&lt;p&gt;A continuous field.&lt;/p&gt;&#xA;&lt;p&gt;A smooth neighborhood.&lt;/p&gt;&#xA;&lt;p&gt;A growth process.&lt;/p&gt;&#xA;&lt;p&gt;Localized structures that moved through space.&lt;/p&gt;&#xA;&lt;p&gt;Patterns that looked disturbingly creature-like.&lt;/p&gt;&#xA;&lt;p&gt;That was useful because it gave us a mystery.&lt;/p&gt;&#xA;&lt;p&gt;Now we are going to destroy almost all of it.&lt;/p&gt;&#xA;&lt;p&gt;Not gradually.&lt;/p&gt;&#xA;&lt;p&gt;Aggressively.&lt;/p&gt;&#xA;&lt;p&gt;We want to know:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;How little machinery can remain before interesting organization disappears?&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Start with the kind of system we saw in Lenia.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Digital Life 01: Look at This Thing</title>
      <link>http://programmer.ie/books/digital-life/01-look-at-this-thing/</link>
      <pubDate>Tue, 11 Aug 2026 01:06:00 +0100</pubDate>
      <guid>http://programmer.ie/books/digital-life/01-look-at-this-thing/</guid>
      <description>&lt;h1 id=&#34;digital-life-01-look-at-this-thing&#34;&gt;Digital Life 01: Look at This Thing&lt;/h1&gt;&#xA;&lt;p&gt;Don&amp;rsquo;t read anything yet.&lt;/p&gt;&#xA;&lt;p&gt;Watch this.&lt;/p&gt;&#xA;&lt;!--&#xA;TODO VISUAL:&#xA;Full-width animated Lenia or Flow-Lenia organism.&#xA;&#xA;Prefer:&#xA;- localized organism&#xA;- visible locomotion or deformation&#xA;- no explanatory labels&#xA;- dark/neutral background&#xA;- several seconds of uninterrupted motion&#xA;&#xA;Caption should initially be minimal:&#xA;&#34;One state of a continuous cellular automaton evolving through time.&#34;&#xA;--&gt;&#xA;&lt;p&gt;Something is moving.&lt;/p&gt;&#xA;&lt;p&gt;It appears to have a boundary.&lt;/p&gt;&#xA;&lt;p&gt;Different parts of it seem to behave differently.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Digital Life 00: What Would Digital Life Mean?</title>
      <link>http://programmer.ie/books/digital-life/00-what-is-digital-life/</link>
      <pubDate>Tue, 11 Aug 2026 00:31:00 +0100</pubDate>
      <guid>http://programmer.ie/books/digital-life/00-what-is-digital-life/</guid>
      <description>&lt;h1 id=&#34;digital-life-00-what-would-digital-life-mean&#34;&gt;Digital Life 00: What Would Digital Life Mean?&lt;/h1&gt;&#xA;&lt;p&gt;Suppose we wanted to build life in software.&lt;/p&gt;&#xA;&lt;p&gt;Not simulate a bird.&lt;/p&gt;&#xA;&lt;p&gt;Not animate a creature.&lt;/p&gt;&#xA;&lt;p&gt;Not create an AI assistant and give it a name.&lt;/p&gt;&#xA;&lt;p&gt;Something more fundamental.&lt;/p&gt;&#xA;&lt;p&gt;A computational system that begins to exhibit properties we associate with living things:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;structure&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;persistence&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;response&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;adaptation&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;repair&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;memory&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;inheritance&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;evolution&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The obvious temptation is to start implementing those words.&lt;/p&gt;&#xA;&lt;p&gt;We could create:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 35: Flow-Lenia and Mass-Conserving Artificial Life</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-35/</link>
      <pubDate>Mon, 10 Aug 2026 20:06:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-35/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-35-flow-lenia-and-mass-conserving-artificial-life&#34;&gt;Cellular Automata From First Principles 35: Flow-Lenia and Mass-Conserving Artificial Life&lt;/h1&gt;&#xA;&lt;p&gt;Ordinary Lenia updates local state by adding growth:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;A(t + dt) = clip(A(t) + dt × G(U))&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That means state can be created in one region and destroyed in another.&lt;/p&gt;&#xA;&lt;p&gt;For many artificial-life experiments that is perfectly acceptable.&lt;/p&gt;&#xA;&lt;p&gt;But it leaves a major question:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;What changes if local structure must reorganize &lt;strong&gt;existing mass&lt;/strong&gt; instead of creating or deleting it?&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 34: Damage, Robustness and Persistence</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-34/</link>
      <pubDate>Mon, 10 Aug 2026 20:03:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-34/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-34-damage-robustness-and-persistence&#34;&gt;Cellular Automata From First Principles 34: Damage, Robustness and Persistence&lt;/h1&gt;&#xA;&lt;p&gt;A pattern that survives in perfect conditions is only the beginning.&lt;/p&gt;&#xA;&lt;p&gt;A stronger artificial-life question is:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;What happens when the pattern is disturbed?&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;We can turn that into an experiment.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;define-damage-explicitly&#34;&gt;Define damage explicitly&lt;/h2&gt;&#xA;&lt;p&gt;Start with a rectangular ablation:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;damage_rectangle&lt;/span&gt;(state, y0, y1, x0, x1):&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    damaged &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; state&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;copy()&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    damaged[&lt;span style=&#34;color:#f92672&#34;&gt;...&lt;/span&gt;, y0:y1, x0:x1] &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0.0&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; damaged&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For a single-channel state:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;damaged &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; damage_rectangle(state, &lt;span style=&#34;color:#ae81ff&#34;&gt;55&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;70&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;55&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;70&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For multi-channel state, the ellipsis damages all channels in the same spatial region.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 33: Multi-Kernel and Multi-Channel Lenia</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-33/</link>
      <pubDate>Mon, 10 Aug 2026 20:00:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-33/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-33-multi-kernel-and-multi-channel-lenia&#34;&gt;Cellular Automata From First Principles 33: Multi-Kernel and Multi-Channel Lenia&lt;/h1&gt;&#xA;&lt;p&gt;Our Lenia implementation has one scalar field:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;A(x, y)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;and one kernel:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;K&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That is enough for rich behavior.&lt;/p&gt;&#xA;&lt;p&gt;But it also forces every local process to share the same spatial scale and the same state variable.&lt;/p&gt;&#xA;&lt;p&gt;A richer model can use multiple channels:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;A0(x, y)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;A1(x, y)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;A2(x, y)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;and multiple kernels linking them.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;represent-state-as-channels&#34;&gt;Represent state as channels&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; numpy &lt;span style=&#34;color:#66d9ef&#34;&gt;as&lt;/span&gt; np&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;channels &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;3&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;state &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; np&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;zeros((channels, &lt;span style=&#34;color:#ae81ff&#34;&gt;128&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;128&lt;/span&gt;), dtype&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;np&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;float64)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now each cell has a vector state:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 32: Search Lenia Parameter Space</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-32/</link>
      <pubDate>Mon, 10 Aug 2026 19:57:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-32/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-32-search-lenia-parameter-space&#34;&gt;Cellular Automata From First Principles 32: Search Lenia Parameter Space&lt;/h1&gt;&#xA;&lt;p&gt;A Lenia pattern is not defined by its initial state alone.&lt;/p&gt;&#xA;&lt;p&gt;It also lives inside a particular dynamical world.&lt;/p&gt;&#xA;&lt;p&gt;Change the kernel or growth function slightly and the same seed may:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;die&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;explode&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;freeze&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;oscillate&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;move&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;split&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;stabilize into a different morphology&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;So discovery has two coupled search spaces:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;initial condition&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      +&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;world parameters&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;hr&gt;&#xA;&lt;h2 id=&#34;define-parameter-ranges&#34;&gt;Define parameter ranges&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;PARAM_RANGES &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;radius&amp;#34;&lt;/span&gt;: (&lt;span style=&#34;color:#ae81ff&#34;&gt;8&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;24&lt;/span&gt;),&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;ring_center&amp;#34;&lt;/span&gt;: (&lt;span style=&#34;color:#ae81ff&#34;&gt;0.25&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0.75&lt;/span&gt;),&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;ring_width&amp;#34;&lt;/span&gt;: (&lt;span style=&#34;color:#ae81ff&#34;&gt;0.05&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0.25&lt;/span&gt;),&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;mu&amp;#34;&lt;/span&gt;: (&lt;span style=&#34;color:#ae81ff&#34;&gt;0.05&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0.30&lt;/span&gt;),&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;sigma&amp;#34;&lt;/span&gt;: (&lt;span style=&#34;color:#ae81ff&#34;&gt;0.01&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0.08&lt;/span&gt;),&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;dt&amp;#34;&lt;/span&gt;: (&lt;span style=&#34;color:#ae81ff&#34;&gt;0.03&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0.20&lt;/span&gt;),&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;These ranges are experimental choices.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 31: Discover Your First Lenia Organisms</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-31/</link>
      <pubDate>Mon, 10 Aug 2026 19:54:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-31/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-31-discover-your-first-lenia-organisms&#34;&gt;Cellular Automata From First Principles 31: Discover Your First Lenia Organisms&lt;/h1&gt;&#xA;&lt;p&gt;Running Lenia is easy.&lt;/p&gt;&#xA;&lt;p&gt;Finding persistent, localized, non-trivial structures is the hard part.&lt;/p&gt;&#xA;&lt;p&gt;This chapter turns that problem into a repeatable search pipeline.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;define-what-counts-as-a-candidate&#34;&gt;Define what counts as a candidate&lt;/h2&gt;&#xA;&lt;p&gt;We should not start with the vague objective:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Find something that looks alive.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Instead define measurable properties.&lt;/p&gt;&#xA;&lt;p&gt;A useful first candidate might be:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;survives for 1,000 steps&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;stays localized&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;keeps non-zero mass&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;continues changing&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;avoids filling the whole board&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Each condition removes a different failure mode.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 30: Build Lenia From First Principles</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-30/</link>
      <pubDate>Mon, 10 Aug 2026 19:51:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-30/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-30-build-lenia-from-first-principles&#34;&gt;Cellular Automata From First Principles 30: Build Lenia From First Principles&lt;/h1&gt;&#xA;&lt;p&gt;We now have every conceptual component needed for a minimal Lenia implementation:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;continuous state&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;radial kernel&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;convolution&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;smooth growth function&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;small time step&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;bounded update&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This chapter assembles them into one runnable system.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;represent-the-model-parameters-explicitly&#34;&gt;Represent the model parameters explicitly&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;from&lt;/span&gt; dataclasses &lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; dataclass&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;@dataclass&lt;/span&gt;(frozen&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;class&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;LeniaConfig&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    radius: int &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;13&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ring_center: float &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0.5&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ring_width: float &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0.15&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    mu: float &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0.15&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    sigma: float &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0.03&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    dt: float &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0.1&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Keeping parameters in one object makes experiments reproducible.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 29: Growth Functions</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-29/</link>
      <pubDate>Mon, 10 Aug 2026 19:48:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-29/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-29-growth-functions&#34;&gt;Cellular Automata From First Principles 29: Growth Functions&lt;/h1&gt;&#xA;&lt;p&gt;We now have two pieces:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;continuous state&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      ↓&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;weighted neighborhood&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;But a neighborhood value does not tell us what should happen next.&lt;/p&gt;&#xA;&lt;p&gt;We need a response curve.&lt;/p&gt;&#xA;&lt;p&gt;In Lenia-style systems that curve is usually called a &lt;strong&gt;growth function&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;It converts neighborhood potential into local growth or decay.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;a-gaussian-shaped-preference&#34;&gt;A Gaussian-shaped preference&lt;/h2&gt;&#xA;&lt;p&gt;A useful starting point is:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; numpy &lt;span style=&#34;color:#66d9ef&#34;&gt;as&lt;/span&gt; np&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;gaussian_growth&lt;/span&gt;(u, mu&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;0.15&lt;/span&gt;, sigma&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;0.03&lt;/span&gt;):&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;2.0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;*&lt;/span&gt; np&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;exp(&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;((u &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt; mu) &lt;span style=&#34;color:#f92672&#34;&gt;**&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;) &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; (&lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;*&lt;/span&gt; sigma &lt;span style=&#34;color:#f92672&#34;&gt;**&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ) &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1.0&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The output is approximately:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 28: Neighborhoods as Convolution Kernels</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-28/</link>
      <pubDate>Mon, 10 Aug 2026 19:45:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-28/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-28-neighborhoods-as-convolution-kernels&#34;&gt;Cellular Automata From First Principles 28: Neighborhoods as Convolution Kernels&lt;/h1&gt;&#xA;&lt;p&gt;A neighborhood does not have to be a list of nearby coordinates.&lt;/p&gt;&#xA;&lt;p&gt;It can be a &lt;strong&gt;spatial weighting function&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;That lets us say:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cells near this radius matter a lot&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cells closer in matter less&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cells farther away do not matter at all&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The standard programming tool for applying that same weighted neighborhood everywhere is convolution.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;start-with-a-small-kernel&#34;&gt;Start with a small kernel&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; numpy &lt;span style=&#34;color:#66d9ef&#34;&gt;as&lt;/span&gt; np&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kernel &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; np&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;array([&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    [&lt;span style=&#34;color:#ae81ff&#34;&gt;0.0&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0.1&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0.0&lt;/span&gt;],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    [&lt;span style=&#34;color:#ae81ff&#34;&gt;0.1&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0.6&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0.1&lt;/span&gt;],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    [&lt;span style=&#34;color:#ae81ff&#34;&gt;0.0&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0.1&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0.0&lt;/span&gt;],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;])&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Normalize it:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 27: From Discrete Cells to Continuous State</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-27/</link>
      <pubDate>Mon, 10 Aug 2026 19:43:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-27/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-27-from-discrete-cells-to-continuous-state&#34;&gt;Cellular Automata From First Principles 27: From Discrete Cells to Continuous State&lt;/h1&gt;&#xA;&lt;p&gt;So far most of our cellular automata have used a small set of states:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;0 or 1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;empty / prey / predator&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ready / firing / refractory&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That makes rules easy to inspect.&lt;/p&gt;&#xA;&lt;p&gt;But it also forces every update to make a hard categorical decision.&lt;/p&gt;&#xA;&lt;p&gt;What happens if a cell can instead hold &lt;strong&gt;any value between 0 and 1&lt;/strong&gt;?&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
