<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Gray Scott on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/gray-scott/</link>
    <description>Recent content in Gray Scott on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 10 Aug 2026 18:42:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/gray-scott/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Cellular Automata From First Principles 12: Reaction-Diffusion and Pattern Formation</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-12/</link>
      <pubDate>Mon, 10 Aug 2026 18:42:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-12/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-12-reaction-diffusion-and-pattern-formation&#34;&gt;Cellular Automata From First Principles 12: Reaction-Diffusion and Pattern Formation&lt;/h1&gt;&#xA;&lt;p&gt;Diffusion smooths differences.&lt;/p&gt;&#xA;&lt;p&gt;Reaction can amplify them.&lt;/p&gt;&#xA;&lt;p&gt;Put the two processes together and a nearly uniform field can develop persistent spots, stripes and fronts.&lt;/p&gt;&#xA;&lt;p&gt;We will use a discrete Gray-Scott reaction-diffusion simulation because it gives us a compact bridge from local cellular updates to continuous pattern-forming dynamics.&lt;/p&gt;&#xA;&lt;p&gt;Each lattice cell stores two values:&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;U = concentration of chemical U&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;V = concentration of chemical V&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;So our cell state is now a vector:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
