<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://conwaylife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SecondTypist</id>
	<title>LifeWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://conwaylife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SecondTypist"/>
	<link rel="alternate" type="text/html" href="https://conwaylife.com/wiki/Special:Contributions/SecondTypist"/>
	<updated>2026-11-09T15:52:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://conwaylife.com/w/index.php?title=OCA:Live_Free_or_Die&amp;diff=174464</id>
		<title>OCA:Live Free or Die</title>
		<link rel="alternate" type="text/html" href="https://conwaylife.com/w/index.php?title=OCA:Live_Free_or_Die&amp;diff=174464"/>
		<updated>2026-07-27T16:42:53Z</updated>

		<summary type="html">&lt;p&gt;SecondTypist: /* Spaceships */ linked free ship&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Rule&lt;br /&gt;
|name            = Live Free or Die&lt;br /&gt;
|imgname         = lfodsample&lt;br /&gt;
|char            = Explosive&lt;br /&gt;
|b               = 2&lt;br /&gt;
|s               = 0&lt;br /&gt;
|ruleinteger     = 516&lt;br /&gt;
|reversal        = B01234567/S01234578&lt;br /&gt;
|animated        = true&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;Live Free or Die&#039;&#039;&#039; (or &#039;&#039;&#039;LFoD&#039;&#039;&#039;) is a [[Life-like cellular automaton]] where a cell survives if it has no neighbors, and a cell is born if it has two neighbors. Like {{rl|Seeds}}, LFoD naturally explodes at [[light speed]], but [[spaceship]]s, [[puffer]]s, and [[oscillator]]s of infinitely extensible size and [[period]] have been discovered, along with [[gun]]s, [[rake]]s, and spaceships which move diagonally.&lt;br /&gt;
&lt;br /&gt;
==Notable patterns==&lt;br /&gt;
&lt;br /&gt;
===Oscillators===&lt;br /&gt;
The rule also allows for the presence of only one [[still life]] consisting of a single cell, the dot. Other small oscillators include the checker ([[duoplet]]) at p2, the lever, anchor, and radar at p4, the ant at p6, and the monster at p19. The anchor track is an infinitely extensible oscillator that can have any period {{nowrap|{{times|4|2&amp;lt;sup&amp;gt;n&amp;lt;/sup&amp;gt;}} - 4}}, which is useful in various flotillas of arbitrarily large periods. Oscillators have also been discovered at p3, p5, and p8. Many oscillators are extensible.&lt;br /&gt;
&lt;br /&gt;
===Spaceships===&lt;br /&gt;
&lt;br /&gt;
{{EmbedViewer&lt;br /&gt;
|pname        = lfodmoon&lt;br /&gt;
|viewerconfig = [[ THUMBSIZE 3 ZOOM 42 GPS 1 X 0.5 AUTOSTART TRACKLOOP 1 -1 0 ]]&lt;br /&gt;
|position     = center&lt;br /&gt;
|caption      = The [[moon]] in Live Free or Die&lt;br /&gt;
|style        = width:100px;&lt;br /&gt;
|apgcode      = xq1_69/b2s0&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Most spaceships and puffers in Live Free or Die travel at light speed. There is one p1 spaceship with four cells, the moon. Other small, common [[photon]]s include the [[OCA:Live Free or Die/Free ship|free ship]] (p6), the key ship, plus ship, robot ship, and sun ship (p4), and the octopus ship (p8). Photons have also been discovered at p2, p3 and p5, and spaceship flotillas can be built with any period of the form {{nowrap|{{times|8|2&amp;lt;sup&amp;gt;n&amp;lt;/sup&amp;gt;}}}} or {{nowrap|{{times|6|2&amp;lt;sup&amp;gt;n&amp;lt;/sup&amp;gt;}}}}.&lt;br /&gt;
&lt;br /&gt;
Spaceships that travel at c/2, 2c/5, c/3, c/4, and c/5 orthogonally and at c/4 diagonally have also been discovered.&lt;br /&gt;
&lt;br /&gt;
===Puffers, rakes, and guns===&lt;br /&gt;
There are a large number of light speed puffers, including many small, common puffers that produce dots or checkers at p4. Other c puffers have been discovered at periods 3, 5, 6, 7, 8, and 9. Puffer flotillas can be built with any period of the form {{nowrap|{{times|8|2&amp;lt;sup&amp;gt;n&amp;lt;/sup&amp;gt;}}}} or {{nowrap|{{times|6|2&amp;lt;sup&amp;gt;n&amp;lt;/sup&amp;gt;}}}}, and complex flotillas can be built to produce oscillators like the monster and radar or to create rakes.&lt;br /&gt;
&lt;br /&gt;
There are known c clean backward moon rakes at a variety of periods and at c/2 and c/5. Sideways or backward free ship rakes can be built using flotillas.&lt;br /&gt;
&lt;br /&gt;
There is one known gun, a p4 double-barreled moon gun known as the moon laser discovered by [[Matthias Merzenich]] in August {{year|2012}}.&amp;lt;ref name=&amp;quot;post6893&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A non-chaotic [[breeder]] based on a p4 puffer was discovered by [[Arie Paap]] on March 5, {{year|2015}}.&amp;lt;ref name=&amp;quot;post17412&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===W110 unit cell===&lt;br /&gt;
On October 20, {{year|2020}}, [[FWKnightship]] constructed a [[Rule 110]] [[unit cell]] in Live Free or Die, proving the rule [[Turing-complete]].&amp;lt;ref name=&amp;quot;post107139&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;post6893&amp;quot;&amp;gt;{{LinkForumThread&lt;br /&gt;
|format = ref&lt;br /&gt;
|title  = Re: Live Free or Die&lt;br /&gt;
|p      = 6893&lt;br /&gt;
|author = Matthias Merzenich&lt;br /&gt;
|date   = August 1, 2012&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;post17412&amp;quot;&amp;gt;{{LinkForumThread&lt;br /&gt;
|format = ref&lt;br /&gt;
|title  = Re: Live Free or Die&lt;br /&gt;
|p      = 17412&lt;br /&gt;
|author = Arie Paap&lt;br /&gt;
|date   = March 5, 2015&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;post107139&amp;quot;&amp;gt;{{LinkForumThread&lt;br /&gt;
|format = ref&lt;br /&gt;
|title  = Re: List of the Turing-complete totalistic life-like CA&lt;br /&gt;
|p      = 107139&lt;br /&gt;
|author = FWKnightship&lt;br /&gt;
|date   = October 20, 2020&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* {{LinkForumThread|f=11|t=649|title=Live Free or Die}}&lt;br /&gt;
&amp;lt;!-- * {{LinkEppsteinRule|b2s0}} http://fano.ics.uci.edu/ca/rules/b2s0/ --&amp;gt;&lt;br /&gt;
* [https://web.archive.org/web/20150422141845/http://fano.ics.uci.edu/ca/rules/b2s0/g4.html Glider 7171] at [[David Eppstein]]&#039;s [[glider.db|Glider Database]]&lt;br /&gt;
* {{LinkCatagolueRule|b2s0}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Life-like cellular automata]]&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>SecondTypist</name></author>
	</entry>
	<entry>
		<id>https://conwaylife.com/w/index.php?title=OCA:Live_Free_or_Die/Free_ship&amp;diff=174463</id>
		<title>OCA:Live Free or Die/Free ship</title>
		<link rel="alternate" type="text/html" href="https://conwaylife.com/w/index.php?title=OCA:Live_Free_or_Die/Free_ship&amp;diff=174463"/>
		<updated>2026-07-27T16:38:43Z</updated>

		<summary type="html">&lt;p&gt;SecondTypist: Added info on discovery&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
{{Spaceship&lt;br /&gt;
|name             = Free ship&lt;br /&gt;
|pname            = freeship&lt;br /&gt;
|c                = 4&lt;br /&gt;
|bx               = 10&lt;br /&gt;
|by               = 5&lt;br /&gt;
|dir              = Orthogonal&lt;br /&gt;
|p                = 6&lt;br /&gt;
|m                = 6&lt;br /&gt;
|s                = 6c/6&lt;br /&gt;
|z                = c&lt;br /&gt;
|h                = 32&lt;br /&gt;
|symmetry         = -e&lt;br /&gt;
|discoverer       = Luke Bradford&lt;br /&gt;
|discoveryear     = &lt;br /&gt;
|rulemin          = B2/S0&lt;br /&gt;
|rulemax          = B2567/S08&lt;br /&gt;
|isorulemin       = B2-n/S0&lt;br /&gt;
|isorulemax       = B23c4-acn567/S08&lt;br /&gt;
|rle              = true&lt;br /&gt;
|viewerconfig     = #C [[ WIDTH 750 HEIGHT 500 TRACKLOOP 6 1 0 X -0.5 THUMBSIZE 3 ZOOM 32 GPS 2 ]]&lt;br /&gt;
|apgcode          = xq6_1owo1z128821/b2s0&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;Free ship&#039;&#039;&#039; is a common period-6 [[photon]] in {{rl|Live Free or Die}} which has a large [[tail spark]], and can be turned into [[puffer]]s. Two of them emerge from the [[domino]] sequence. There is a shorter variant of the free ship called the &#039;&#039;&#039;short free ship&#039;&#039;&#039;, but it is rarer due to not evolving from the domino.&lt;br /&gt;
{{EmbedViewer&lt;br /&gt;
|rle          = x = 8, y = 6, rule = B2/S0&lt;br /&gt;
o4bo$3b2obo$7bo$7bo$3b2obo$o4bo!&lt;br /&gt;
|viewerconfig = #C [[ THUMBSIZE 2 WIDTH 750 AUTOSTART GPS 2 TRACKLOOP 6 1 0 ]]&lt;br /&gt;
|position     = center&lt;br /&gt;
|caption      = Short free ship&lt;br /&gt;
|style        = width:300px;&lt;br /&gt;
|apgcode      = xq6_4q11q4z4y04/b2s0&lt;br /&gt;
}}&lt;br /&gt;
The free ship was initially discovered by Luke Bradford, the creator of Live Free or Die, and was one of the patterns that initially interested him in the rule.&amp;lt;ref&amp;gt;{{cite web|url=http://mysite.verizon.net/live_free/|title=Live Free or Die Universe|last=Bradford|first=Luke|archiveurl=https://web.archive.org/web/20071101052121/http://mysite.verizon.net/live_free/|archivedate=November 1, 2007}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Gallery ==&lt;br /&gt;
{{EmbedViewer&lt;br /&gt;
|rle          = x = 11, y = 17, rule = B2/S0&lt;br /&gt;
2bo4bo$5b2obo$10bo$10bo$5b2obo$2bo4bo6$o4bo$3b2obo$8bo$8bo$3b2obo$o4b&lt;br /&gt;
o!&lt;br /&gt;
|viewerconfig = #C [[ THUMBSIZE 2 WIDTH 750 HEIGHT 400 ]]&lt;br /&gt;
|position     = center&lt;br /&gt;
|caption      = A [[dot]] puffer consisting of two free ships&lt;br /&gt;
|style        = width:300px;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Alien patterns]]&lt;br /&gt;
[[Category:Alien spaceships]]&lt;/div&gt;</summary>
		<author><name>SecondTypist</name></author>
	</entry>
	<entry>
		<id>https://conwaylife.com/w/index.php?title=Help:Formatting&amp;diff=174460</id>
		<title>Help:Formatting</title>
		<link rel="alternate" type="text/html" href="https://conwaylife.com/w/index.php?title=Help:Formatting&amp;diff=174460"/>
		<updated>2026-07-27T15:36:47Z</updated>

		<summary type="html">&lt;p&gt;SecondTypist: Added {{About}} template at top of article that points to style guide&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{About|markup used on LifeWiki|when to use it|LifeWiki:Style guide}}&lt;br /&gt;
This page outlines the basic &#039;&#039;&#039;formatting&#039;&#039;&#039; commands that you will have to use in order to make your wiki articles easy to read. For example, this document will teach you how to make text &#039;&#039;&#039;bold&#039;&#039;&#039; or &#039;&#039;italic&#039;&#039;. For a quicker introduction, see the [[Help:Quick_editing _guide|quick editing guide]]. For more thorough treatment of specific topics, see [[Help:Categories]], [[Help:Images]], [[Help:Links]], [[Help:Tables]], or [[Help:Templates]].&lt;br /&gt;
&lt;br /&gt;
==Spaces, new lines, paragraphs and more==&lt;br /&gt;
You might have already noticed that single spaces between lines do not create spaces in the text. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
These line&lt;br /&gt;
breaks&lt;br /&gt;
do&lt;br /&gt;
nothing.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These line&lt;br /&gt;
breaks&lt;br /&gt;
do&lt;br /&gt;
nothing.&lt;br /&gt;
&lt;br /&gt;
A blank space between the two lines, on the other hand, creates a new paragraph. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
This would look like one paragraph.&lt;br /&gt;
&lt;br /&gt;
This would look like another.&lt;br /&gt;
&lt;br /&gt;
This would be the third.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would look like one paragraph.&lt;br /&gt;
&lt;br /&gt;
This would look like another.&lt;br /&gt;
&lt;br /&gt;
This would be the third.&lt;br /&gt;
&lt;br /&gt;
You can also use the HTML newline (&amp;amp;lt;br&amp;amp;gt;) tag if you so desire, but for standard paragraph breaks the above method is greatly preferred.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
This is some&amp;lt;br&amp;gt;text.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is some&amp;lt;br&amp;gt;text.&lt;br /&gt;
&lt;br /&gt;
==Emphasis==&lt;br /&gt;
&#039;&#039;&#039;Hello!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;How Are You?&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Are you OK?&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is basic, but important. Use three apostrophes for a bold and two for italics. The above section was made like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Hello!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;How Are You?&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Are you OK?&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
HTML encoding also works, such as &amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt; and &amp;lt;i&amp;gt;italics&amp;lt;/i&amp;gt;, but the wiki formatting using apostrophes is preferred.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Bold&amp;lt;/b&amp;gt; and &amp;lt;i&amp;gt;Italics&amp;lt;/i&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Strikethrough text can be made using &amp;amp;lt;s&amp;amp;gt;text&amp;amp;lt;/s&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lists==&lt;br /&gt;
*Creating a bulleted list is simple.&lt;br /&gt;
**Creating Sub-Bullets is just as easy.&lt;br /&gt;
***And so on and so on and so on.&lt;br /&gt;
*Going back is easy too.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
*Creating a bulleted list is simple.&lt;br /&gt;
**Creating Sub-Bullets is just as easy.&lt;br /&gt;
***And so on and so on and so on.&lt;br /&gt;
*Going back is easy too.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#Numbered Lists are almost the same&lt;br /&gt;
##So are sub numbers&lt;br /&gt;
###sub sub numbers&lt;br /&gt;
#and going back.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#Numbered Lists are almost the same&lt;br /&gt;
##So are sub numbers&lt;br /&gt;
###sub sub numbers&lt;br /&gt;
#and going back.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Mixing lists are possible too.&lt;br /&gt;
*#Such as this one&lt;br /&gt;
*#*You can also&amp;lt;br&amp;gt;have new lines&amp;lt;br&amp;gt;inside lists.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
*Mixing lists are possible too.&lt;br /&gt;
*#Such as this one&lt;br /&gt;
*#*You can also&amp;lt;br&amp;gt;have new lines&amp;lt;br&amp;gt;inside lists.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Horizontal rules==&lt;br /&gt;
Don&#039;t use these too often, as they break up the page. Instead, it is recommended you use section breaks (see below). If you really need them, however, this is the formatting:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Indentation==&lt;br /&gt;
:A colon indents a line.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:A colon indents a line.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Alignment==&lt;br /&gt;
A page is left-aligned by default.&lt;br /&gt;
&amp;lt;center&amp;gt; Center text like this. &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt; Center text like this. &amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Section breaks==&lt;br /&gt;
Many articles on the wiki use section headers and tables of contents, like the ones above. Two equal(=) signs makes a topic.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
==This is a Topic==&lt;br /&gt;
===This is a Subtopic===&lt;br /&gt;
====This is a Sub Sub Topic====&lt;br /&gt;
===This is a subtopic of the first topic, but not the other sub topics===&lt;br /&gt;
==This is another topic==&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add a table of contents, type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If a table of contents is automatic for the article (which is the case pages containing many sections), you can use this formatting to remove it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Table of contents lists only list topics that appear after they are inserted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ContributeNavbox}}&lt;/div&gt;</summary>
		<author><name>SecondTypist</name></author>
	</entry>
	<entry>
		<id>https://conwaylife.com/w/index.php?title=OCA:Live_Free_or_Die/Free_ship&amp;diff=174407</id>
		<title>OCA:Live Free or Die/Free ship</title>
		<link rel="alternate" type="text/html" href="https://conwaylife.com/w/index.php?title=OCA:Live_Free_or_Die/Free_ship&amp;diff=174407"/>
		<updated>2026-07-26T01:00:43Z</updated>

		<summary type="html">&lt;p&gt;SecondTypist: SecondTypist moved page OCA:Life Free or Die/Free ship to OCA:Live Free or Die/Free ship: Misspelled title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
{{Spaceship&lt;br /&gt;
|name             = Free ship&lt;br /&gt;
|pname            = freeship&lt;br /&gt;
|c                = 4&lt;br /&gt;
|bx               = 10&lt;br /&gt;
|by               = 5&lt;br /&gt;
|dir              = Orthogonal&lt;br /&gt;
|p                = 6&lt;br /&gt;
|m                = 6&lt;br /&gt;
|s                = 6c/6&lt;br /&gt;
|z                = c&lt;br /&gt;
|h                = 32&lt;br /&gt;
|symmetry         = &lt;br /&gt;
|discoverer       = &lt;br /&gt;
|discoveryear     = &lt;br /&gt;
|rulemin          = B2/S0&lt;br /&gt;
|rulemax          = B2567/S08&lt;br /&gt;
|isorulemin       = B2-n/S0&lt;br /&gt;
|isorulemax       = B23c4-acn567/S08&lt;br /&gt;
|rle              = true&lt;br /&gt;
|viewerconfig     = #C [[ WIDTH 750 HEIGHT 500 TRACKLOOP 6 1 0 X -0.5 THUMBSIZE 3 ZOOM 32 GPS 2 ]]&lt;br /&gt;
|apgcode          = xq6_1owo1z128821/b2s0&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;Free ship&#039;&#039;&#039; is a common period-6 [[photon]] in {{rl|Live Free or Die}} which has a large [[tail spark]], and can be turned into [[puffer]]s. It emerges from the [[Domino]] sequence. There is a shorter variant of the free ship called the &#039;&#039;&#039;short free ship&#039;&#039;&#039;, but it is rarer due to not evolving from the domino.&lt;br /&gt;
{{EmbedViewer&lt;br /&gt;
|rle          = x = 8, y = 6, rule = B2/S0&lt;br /&gt;
o4bo$3b2obo$7bo$7bo$3b2obo$o4bo!&lt;br /&gt;
|viewerconfig = #C [[ THUMBSIZE 2 WIDTH 750 AUTOSTART GPS 2 TRACKLOOP 6 1 0 ]]&lt;br /&gt;
|position     = center&lt;br /&gt;
|caption      = Short free ship&lt;br /&gt;
|style        = width:300px;&lt;br /&gt;
|apgcode      = xq6_4q11q4z4y04/b2s0&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Gallery ==&lt;br /&gt;
{{EmbedViewer&lt;br /&gt;
|rle          = x = 11, y = 17, rule = B2/S0&lt;br /&gt;
2bo4bo$5b2obo$10bo$10bo$5b2obo$2bo4bo6$o4bo$3b2obo$8bo$8bo$3b2obo$o4b&lt;br /&gt;
o!&lt;br /&gt;
|viewerconfig = #C [[ THUMBSIZE 2 WIDTH 750 HEIGHT 400 ]]&lt;br /&gt;
|position     = center&lt;br /&gt;
|caption      = A [[Dot]] puffer consisting of two free ships&lt;br /&gt;
|style        = width:300px;&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Alien patterns]] [[Category:Alien spaceships]]&lt;/div&gt;</summary>
		<author><name>SecondTypist</name></author>
	</entry>
	<entry>
		<id>https://conwaylife.com/w/index.php?title=Apgcode&amp;diff=174406</id>
		<title>Apgcode</title>
		<link rel="alternate" type="text/html" href="https://conwaylife.com/w/index.php?title=Apgcode&amp;diff=174406"/>
		<updated>2026-07-26T00:59:41Z</updated>

		<summary type="html">&lt;p&gt;SecondTypist: Corrected suffix information for linear growth&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An &#039;&#039;&#039;apgcode&#039;&#039;&#039; is a unique identifier used by [[apgsearch]] and its search results database, [[Catagolue]], to classify and denote a [[pattern]]. A pattern&#039;s name may also be its apgcode (especially for small, otherwise unnamed patterns).&lt;br /&gt;
&lt;br /&gt;
== Encoding objects ==&lt;br /&gt;
An apgcode consists of a prefix and a suffix, separated by an underscore. Both the prefix and the suffix are alphanumeric strings.&lt;br /&gt;
&lt;br /&gt;
=== Prefix ===&lt;br /&gt;
The prefix consists of a two-character type and a number. For encodable objects, the types are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;xs&amp;lt;/tt&amp;gt; for a [[still life]];&lt;br /&gt;
* &amp;lt;tt&amp;gt;xp&amp;lt;/tt&amp;gt; for an [[oscillator]];&lt;br /&gt;
* &amp;lt;tt&amp;gt;xq&amp;lt;/tt&amp;gt; for a [[spaceship]];&lt;br /&gt;
* &amp;lt;tt&amp;gt;yl&amp;lt;/tt&amp;gt; for a periodic linearly growing object, such as a [[puffer]] or [[gun]];&lt;br /&gt;
* &amp;lt;tt&amp;gt;methuselah&amp;lt;/tt&amp;gt; for a [[methuselah]];&lt;br /&gt;
* &amp;lt;tt&amp;gt;messless&amp;lt;/tt&amp;gt; for a [[diehard]]; and&lt;br /&gt;
* &amp;lt;tt&amp;gt;megasized&amp;lt;/tt&amp;gt; for a soup with a large final population.&lt;br /&gt;
&lt;br /&gt;
The number following the type represents the [[population]] for a still life, the lifespan for a methuselah or diehard, or otherwise the [[period]] of the object.&lt;br /&gt;
For an example, see [[xp2]].&lt;br /&gt;
&lt;br /&gt;
Note that despite always having a constant shape and population, spaceships of period 1 are classified under &amp;lt;tt&amp;gt;xq&amp;lt;/tt&amp;gt; rather than under &amp;lt;tt&amp;gt;xs&amp;lt;/tt&amp;gt; or a dedicated period-1 spaceship prefix.&lt;br /&gt;
&lt;br /&gt;
=== Suffix ===&lt;br /&gt;
In codes for &amp;lt;tt&amp;gt;xs&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;xp&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;xq&amp;lt;/tt&amp;gt;, the suffix following the underscore is a representation of the object in Extended Wechsler Format (see below).&lt;br /&gt;
&lt;br /&gt;
In codes for &amp;lt;tt&amp;gt;yl&amp;lt;/tt&amp;gt;, the suffix consists of additional information encoding higher-order periods of the pattern:&amp;lt;ref&amp;gt;https://conwaylife.com/forums/viewtopic.php?p=71429#p71429&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The first value is a number representing the &amp;quot;population growth&amp;quot; of the pattern, which is related to (but not necessarily identical to) the period. For example:&lt;br /&gt;
** Despite the [[block-laying switch engine]] having a period of 288, its value is 144 due to [[glide symmetry]].&lt;br /&gt;
** Likewise, a diagonal puffer from [[HighLife]] has a value of 960 rather than the expected 192 due to creating period-10 oscillators out of phase with each other.&lt;br /&gt;
* The second value represents the period at which the population of the debris fluctuates.&lt;br /&gt;
* The third value represents how much the population grows after the amount of generations specified in the first value have elapsed.&lt;br /&gt;
* The fourth value corresponds to the Extended Wechsler Format of the linear growth pattern.&lt;br /&gt;
&lt;br /&gt;
=== Unencodable objects ===&lt;br /&gt;
In their original form, apgcodes are not guaranteed to encode still lifes, oscillators and spaceships exceeding a 40&amp;amp;times;40 bounding box.{{refn|group=note|Patterns exceeding a 40&amp;amp;times;40 bounding box can still be encoded using &amp;quot;classic&amp;quot; apgcodes if they match either fit within such a box in at least one phase, or if, alternatively, they do not contain runs of more than 39 zeroes in their extended Wechsler representation.}} These are instead reported by apgsearch and censused by Catagolue as &#039;&#039;oversized&#039;&#039; patterns, using the following types:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;ov_s&amp;lt;/tt&amp;gt; for an oversized still life;&lt;br /&gt;
* &amp;lt;tt&amp;gt;ov_p&amp;lt;/tt&amp;gt; for an oversized oscillator;&lt;br /&gt;
* &amp;lt;tt&amp;gt;ov_q&amp;lt;/tt&amp;gt; for an oversized spaceship.&lt;br /&gt;
&lt;br /&gt;
These types are then followed by a number representing the population for a still life, or otherwise the period of the object, as in the non-oversized case. apgcodes of this form do not uniquely identify a specific object, but rather represent classes of objects.&lt;br /&gt;
&lt;br /&gt;
An extension to apgcodes, dubbed &amp;quot;greedy apgcodes&amp;quot; (see below), was later used to relax the 40&amp;amp;times;40 bounding box constraint, although some sufficiently large patterns remain canonically unencodable.&lt;br /&gt;
&lt;br /&gt;
=== Unclassifiable objects ===&lt;br /&gt;
Objects which apgsearch cannot classify as above are denoted by one of:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;zz_EXPLOSIVE&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;zz_LINEAR&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;zz_QUADRATIC&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;zz_REPLICATOR&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;PATHOLOGICAL&amp;lt;/tt&amp;gt; (e.g. high-period oscillators)&lt;br /&gt;
&lt;br /&gt;
Chaotic-growth (&amp;lt;tt&amp;gt;zz_*&amp;lt;/tt&amp;gt;) patterns are classified according to certain heuristics; the labels chosen do not necessarily reflect the nature of the object encountered, so an object classified as e.g. &amp;lt;tt&amp;gt;zz_REPLICATOR&amp;lt;/tt&amp;gt; need not be an actual [[replicator]].&lt;br /&gt;
&lt;br /&gt;
Like oversized apgcodes, these apgcodes do not uniquely identify specific objects.&lt;br /&gt;
&lt;br /&gt;
== Extended Wechsler format ==&lt;br /&gt;
Non-oversized still lifes, oscillators and patterns are encoded in &#039;&#039;&#039;extended Wechsler format&#039;&#039;&#039;, an extension of a pattern notation developed by [[Allan Wechsler]] in 1992. &lt;br /&gt;
&lt;br /&gt;
* The pattern is separated into horizontal strips of five rows.&lt;br /&gt;
** Each strip, &#039;&#039;n&#039;&#039; columns wide, is encoded as a string of &#039;&#039;n&#039;&#039; characters in the set {&amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;1&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;2&amp;lt;/tt&amp;gt;, ..., &amp;lt;tt&amp;gt;8&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;9&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;a&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;b&amp;lt;/tt&amp;gt;, ..., &amp;lt;tt&amp;gt;v&amp;lt;/tt&amp;gt;} denoting the five cells in a vertical column corresponding to the bitstrings {&#039;00000&#039;, &#039;00001&#039;, &#039;00010&#039;, ..., &#039;01000&#039;, &#039;01001&#039;, &#039;01010&#039;, &#039;01011&#039;, ... &#039;11111&#039;}.&lt;br /&gt;
** The characters &#039;&amp;lt;tt&amp;gt;w&amp;lt;/tt&amp;gt;&#039; and &#039;&amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt;&#039; are used to abbreviate &#039;&amp;lt;tt&amp;gt;00&amp;lt;/tt&amp;gt;&#039; and &#039;&amp;lt;tt&amp;gt;000&amp;lt;/tt&amp;gt;&#039;, respectively, and the symbols {&#039;&amp;lt;tt&amp;gt;y0&amp;lt;/tt&amp;gt;&#039;, &#039;&amp;lt;tt&amp;gt;y1&amp;lt;/tt&amp;gt;&#039;, &amp;lt;tt&amp;gt;y2&amp;lt;/tt&amp;gt;&#039;, ..., &#039;&amp;lt;tt&amp;gt;yx&amp;lt;/tt&amp;gt;&#039;, &#039;&amp;lt;tt&amp;gt;yy&amp;lt;/tt&amp;gt;&#039;, &#039;&amp;lt;tt&amp;gt;yz&amp;lt;/tt&amp;gt;&#039;} are used to encode runs of between 4 and 39 consecutive &#039;&amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;&#039;s.&lt;br /&gt;
** Extraneous &#039;&amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;&#039;s at the ends of strips are not included in the encoding. (Note that in particular, blank five-row strips are represented by the empty string.)&lt;br /&gt;
* The character &#039;&amp;lt;tt&amp;gt;z&amp;lt;/tt&amp;gt;&#039; separates contiguous five-row strips.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;tt&amp;gt;xq4_27deee6&amp;lt;/tt&amp;gt; encodes a [[heavyweight spaceship]]:&lt;br /&gt;
&lt;br /&gt;
[[File:xq4 27deee6 annotated.png|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;xs31_0ca178b96z69d1d96&amp;lt;/tt&amp;gt; encodes a 31-bit still life; note how the &#039;&amp;lt;tt&amp;gt;z&amp;lt;/tt&amp;gt;&#039; separates the two five-row strips:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em;&amp;quot; | [[File:xs31 0ca178b96z69d1d96 annotated strip1.png|center]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em;&amp;quot; | [[File:xs31 0ca178b96z69d1d96 annotated strip2.png]]&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;tt&amp;gt;xp30_w33z8kqrqk8zzzx33&amp;lt;/tt&amp;gt; encodes a [[trans-queen bee shuttle]]; note how five-row strips are represented by the empty string:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em;&amp;quot; | [[File:Xp30 w33z8kqrqk8zzzx33 annotated strip1.png|center]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em;&amp;quot; | [[File:Xp30 w33z8kqrqk8zzzx33 annotated strip2.png|center]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em;&amp;quot; | &amp;lt;center&amp;gt;(10 blank rows omitted)&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Xp30 w33z8kqrqk8zzzx33 annotated striplast.png|center]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;xp2_31a08zy0123cko&amp;lt;/tt&amp;gt; is a [[quadpole tie ship]]; note how trailing zeros in the first five-row strip are not encoded:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em;&amp;quot;| [[File:xp2 31a08zy0123cko annotated strip1.png|center]]&lt;br /&gt;
|-&lt;br /&gt;
| [[File:xp2 31a08zy0123cko annotated strip2.png|center]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Canonical form ==&lt;br /&gt;
In order to enforce a canonical form, there are further rules regarding encoding:&lt;br /&gt;
&lt;br /&gt;
* The leftmost column and uppermost row must each contain at least one live cell. (This gives a canonical position.)&lt;br /&gt;
* A canonical orientation and phase must be determined. For example, with the [[caterer]] (p3 oscillator with no [[symmetry]]), there are three phases and eight orientations, so we have 24 possible encodings. A total order on these encodings is defined as follows:&lt;br /&gt;
** Shorter representations are preferred to longer representations;&lt;br /&gt;
** For representations of the same length, lexicographical ASCII ordering is applied, and preference given to earlier strings.&lt;br /&gt;
&lt;br /&gt;
This gives, for any still-life, oscillator or spaceship, an unambiguous canonical code to represent the pattern. It has several desirable properties:&lt;br /&gt;
&lt;br /&gt;
* Compression: it is much more compact than [[RLE]] or [[SOF]] for storing very small patterns, and sometimes even beats the common name (&#039;&amp;lt;tt&amp;gt;xp15_4r4z4r4&amp;lt;/tt&amp;gt;&#039; is shorter than &#039;[[pentadecathlon]]&#039;)! &lt;br /&gt;
* Character set: it only uses digits, lowercase letters and the underscore, so can be safely used in filenames and URLs.&lt;br /&gt;
* Human-readability: the prefix means that we can instantly see whether a particular object is a still-life (and if so, what size), oscillator (and if so, what period) or spaceship (and if so, what period). It also means that the string is instantly recognised as being an encoding of an object (&#039;&amp;lt;tt&amp;gt;xp2_7&amp;lt;/tt&amp;gt;&#039; is obviously a [[blinker]], whereas the digit 7 on its own with no extra context is ambiguous).&lt;br /&gt;
&lt;br /&gt;
== Adapting apgcodes to larger patterns ==&lt;br /&gt;
As apgcodes were originally limited to patterns fitting into a 40&amp;amp;times;40 bounding box, different ways of extending them to allow unambiguously encoding larger patterns were proposed.&amp;lt;ref name=&amp;quot;forumthread2307&amp;quot; /&amp;gt; In their original form, apgcodes are not guaranteed to be able to encode larger patterns, due a lack of well-definedness for runs of 40 or more consecutive zeroes, and apgsearch versions up to 3.x would report such patterns as oversized instead of attempting to encode them.&lt;br /&gt;
&lt;br /&gt;
Extended (&amp;quot;greedy&amp;quot;) apgcodes were eventually adopted to allow larger patterns to be encoded. These avoid the problem by stipulating that a run of &#039;&#039;n&#039;&#039; zeroes be encoded as follows:&lt;br /&gt;
&lt;br /&gt;
# If &#039;&#039;n&#039;&#039; is less than 40, the run is encoded as in regular apgcodes, using the characters &amp;lt;tt&amp;gt;w&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;y0&amp;lt;/tt&amp;gt; .. &amp;lt;tt&amp;gt;yz&amp;lt;/tt&amp;gt; as appropriate.&lt;br /&gt;
# If &#039;&#039;n&#039;&#039; is equal to or greater than 40, the run is encoded as &amp;lt;tt&amp;gt;yz&amp;lt;/tt&amp;gt; (representing the first 39 zeroes), following by the encoding for a run of &#039;&#039;n&#039;&#039; - 39 zeroes according to this definition.&lt;br /&gt;
&lt;br /&gt;
That is to say:&lt;br /&gt;
&lt;br /&gt;
:[[File:Extended apgcodes zeroes encoding.png]]&lt;br /&gt;
&lt;br /&gt;
This extension, which is used on the LifeWiki for larger patterns, retains compatibility with existing apgcode decoders. Adapting encoders to produce extended apgcodes is similarly straightforward.&lt;br /&gt;
&lt;br /&gt;
Greedy apgcodes were adopted for [[apgsearch]] 4.x&amp;lt;ref name=&amp;quot;post48682&amp;quot; /&amp;gt;, subject to the following constraints:&lt;br /&gt;
&lt;br /&gt;
* (width + 2) * (height + 2) &amp;lt;= 10000;&lt;br /&gt;
* the resulting apgcode, without the prefix, cannot exceed 1280 bytes.&lt;br /&gt;
&lt;br /&gt;
== Adapting apgcodes to multistate rules ==&lt;br /&gt;
Work is ongoing on extending apgcodes to multistate ([[Generations]]) rules.&amp;lt;ref name=&amp;quot;post47999&amp;quot; /&amp;gt; For this, apgcodes encoding still lifes, oscillators and spaceships will contain multiple suffixes, separated by underscores.{{refn|group=note|That is to say, these apgcodes will match the following regular expression: &amp;lt;tt&amp;gt;x[spq][0-9]+(_[0-9a-z]+)*&amp;lt;/tt&amp;gt;}} &lt;br /&gt;
&lt;br /&gt;
Each suffix will encode one &#039;layer&#039; of the pattern, with patterns in an &#039;&#039;n&#039;&#039;-state rule having 2+&amp;amp;lceil;log&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(&#039;&#039;n&#039;&#039;-2)&amp;amp;rceil; layers, where layer 0 is &#039;live&#039;, layer 1 is &#039;refractory&#039;, and the remaining layers implement a binary counter. &lt;br /&gt;
&lt;br /&gt;
More precisely, a pattern in an &#039;&#039;n&#039;&#039;-state [[Generations]] rule is represented as follows:&amp;lt;ref name=&amp;quot;post49788&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;post49793&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;Dying&amp;quot; states are renumbered to 2, 6, 10, 14, 18, ..., in reverse chronological order.&lt;br /&gt;
# Each state is represented as a binary number.&lt;br /&gt;
# An extended Wechsler representation is generated for each bit position, starting with the least significant bit.&lt;br /&gt;
# The resulting representations, now called &amp;quot;layers&amp;quot; are concatenated with underscores to form a representation of the entire pattern.&lt;br /&gt;
&lt;br /&gt;
To obtain the pattern&#039;s canonical object, representations are generated for each phase and each possible orientation of the pattern, and the canonical representation is chosen as described in the &amp;quot;Canonical form&amp;quot; section above. Finally, a suitable prefix describing the pattern&#039;s overall behavior is prepended.&lt;br /&gt;
&lt;br /&gt;
In 3-state rules, this simplifies to the two layers directly representing cell states 1 and 2, respectively.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
For example, the following spaceship in [[Brian&#039;s Brain]] ([[Generations]] rule /2/3, aka B2/S/G3) is represented by the apgcode &amp;lt;tt&amp;gt;xq4_3482h8a_03482lx8&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{{EmbedViewer&lt;br /&gt;
|apgcode      = xq4_3482h8a_03482lx8/g3b2s&lt;br /&gt;
|position     = center&lt;br /&gt;
|viewerconfig = [[ GRID GRIDMAJOR 0 GPS 2 AUTOSTART THUMBLAUNCH THUMBSIZE 2 TRACKLOOP 4 -1 0 COLOR 2 128 128 128 ]]&lt;br /&gt;
|rle          = &lt;br /&gt;
x = 11, y = 5, rule = /2/3&lt;br /&gt;
AB2.AB$AB.AB$.AB.A4.B$2.AB4.A.B$4.AB2.B!&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
As [[Brian&#039;s Brain]] is a 3-state rule, the two layers of the code directly represent cells in states 1 (live) and 2 (dying); note how &amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; represents &amp;lt;tt&amp;gt;000&amp;lt;/tt&amp;gt; in the second layer:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em; padding-right: 0.5em&amp;quot; | [[File:xq4 3482h8a 03482lx8 layer1 annotated.png]]&lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em; padding-left: 0.5em&amp;quot; | [[File:xq4 3482h8a 03482lx8 layer2 annotated.png]]&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
Putting both layers together yields the complete pattern:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em;&amp;quot; | [[File:xq4 3482h8a 03482lx8 annotated.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For a more complex example, consider the following [[reflectorless rotating oscillator]] in an 11-state [[Generations]] version of [[Conway&#039;s Game of Life]] (23/3/11), &amp;lt;tt&amp;gt;xp32_ss2gzw11_wsfm76cg_x86668_wke2024_ws6i1_x1&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{{EmbedViewer&lt;br /&gt;
|apgcode      = xp32_ss2gzw11_wsfm76cg_x86668_wke2024_ws6i1_x1/g11b3s23&lt;br /&gt;
|position     = center&lt;br /&gt;
|viewerconfig = [[ GRID GRIDMAJOR 0 GPS 16 AUTOSTART THUMBLAUNCH THUMBSIZE 2 LOOP 32 WIDTH 640 HEIGHT 640 ZOOM 32 ]]&lt;br /&gt;
|rle          = &lt;br /&gt;
x = 9, y = 6, rule = 23/3/11&lt;br /&gt;
3.B.F$2.ADCIG$2A2D3IH$2AFG3.I$2ADAF3.J$2.2A!&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
In order to encode this pattern, states 2, 3, ..., 10 are renumbered 34, 30, ..., 6, 2; six layers are then used to encode each bit of these new state numbers:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em; padding-right: 0.5em&amp;quot; | [[File:xp32 ss2gzw11 wsfm76cg x86668 wke2024 ws6i1 x1 layer1 annotated.png]]&lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em&amp;quot; | [[File:xp32 ss2gzw11 wsfm76cg x86668 wke2024 ws6i1 x1 layer2 annotated.png]]&lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em&amp;quot; | [[File:xp32 ss2gzw11 wsfm76cg x86668 wke2024 ws6i1 x1 layer3 annotated.png]]&lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em&amp;quot; | [[File:xp32 ss2gzw11 wsfm76cg x86668 wke2024 ws6i1 x1 layer4 annotated.png]]&lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em&amp;quot; | [[File:xp32 ss2gzw11 wsfm76cg x86668 wke2024 ws6i1 x1 layer5 annotated.png]]&lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em; padding-left: 0.5em;&amp;quot; | [[File:xp32 ss2gzw11 wsfm76cg x86668 wke2024 ws6i1 x1 layer6 annotated.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Putting the layers together yields the complete pattern:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;padding-bottom: 0.5em;&amp;quot; | [[File:xp32 ss2gzw11 wsfm76cg x86668 wke2024 ws6i1 x1 annotated.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Long-lived soups ==&lt;br /&gt;
Unlike with other patterns, apgcodes for [[methuselah]]s and [[diehard]]s classify the soup itself rather than the individual objects that emerge from it, and do not convey any information other than the soup&#039;s lifespan.&lt;br /&gt;
&lt;br /&gt;
Ordinary methuselahs are classified under the &amp;lt;tt&amp;gt;methuselah&amp;lt;/tt&amp;gt; prefix with the suffix being the soup&#039;s lifespan with the last three digits truncated and the letter &amp;lt;tt&amp;gt;k&amp;lt;/tt&amp;gt; to stand for &amp;quot;thousand.&amp;quot; For example, [[42100M]] was recorded by [[apgsearch]] as &amp;lt;tt&amp;gt;methuselah_42k&amp;lt;/tt&amp;gt;, and is therefore collected by [[Catagolue]] with all other soups lasting between 42,000 and 42,999 generations.{{refn|group=note|Only methuselahs lasting at least 25,000 generations are reported by apgsearch, and only by versions v4.54 or later. Additionally, apgsearch estimates the lifespan of each soup before testing it more precisely, and is not guaranteed to detect all &amp;lt;tt&amp;gt;methuselah_25k&amp;lt;/tt&amp;gt; soups.}}&lt;br /&gt;
&lt;br /&gt;
Diehards, or long-lived soups which leave behind no [[ash]], are classified similar to other methuselahs, but under the &amp;lt;tt&amp;gt;messless&amp;lt;/tt&amp;gt; prefix. Only two digits are truncated for messless soups and replaced with the letter &amp;lt;tt&amp;gt;h&amp;lt;/tt&amp;gt; to stand for &amp;quot;hundred.&amp;quot;{{refn|group=note|Only diehards lasting at least 500 generations are reported by apgsearch, and only by versions v4.69 or later.}}&lt;br /&gt;
&lt;br /&gt;
Soups with large final populations are classified under the &amp;lt;tt&amp;gt;megasized&amp;lt;/tt&amp;gt; prefix. Like with diehards, two digits are truncated from the population count.{{refn|group=note|Only soups with final populations of at least 3,000 are reported by apgsearch, and only by versions v5.03 or later.}}&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
An apgcode does not encode the rule with the pattern. An apgcode can be ambiguous if a rule is neither specified nor implicitly assumed, with the same code being assigned to different patterns evolving differently. For example, the code &amp;lt;tt&amp;gt;xp2_2a54&amp;lt;/tt&amp;gt; describes at least three different period-2 oscillators in outer-totalistic rules which are all titled as &amp;quot;[[clock]]&amp;quot;; further variants exist in [[non-totalistic cellular automaton|non-totalistic rules]]:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Evolution of xp2_2a54 across different rules&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [[File:Xp2 2a54 b3s23.gif]]&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [[File:Xp2 2a54 b34s.gif]]&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [[File:Xp2 2a54 b4s1.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| B3/S3 to B35678/S02345678&lt;br /&gt;
| B34/S to B345678/S0245678&lt;br /&gt;
| B4/S1 to B45678/S01245678&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Apgcode was not designed to encode arbitrary patterns in an unambiguous way (including infinite growth patterns and active regions).&amp;lt;ref&amp;gt;{{LinkForumThread|p=132285|title=Re: Thread for basic questions|format=ref}}&amp;lt;/ref&amp;gt; The exact location and orientation of a pattern and the specific phase of a periodic pattern are not encoded in an apgcode.&amp;lt;ref&amp;gt;{{LinkForumThread|p=132288|title=Re: Thread for basic questions|format=ref}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Catagolue naming conventions]]&lt;br /&gt;
* [[File formats]]&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&amp;lt;references group=&amp;quot;note&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;forumthread2307&amp;quot;&amp;gt;{{LinkForumThread&lt;br /&gt;
|f      = 7&lt;br /&gt;
|t      = 2307&lt;br /&gt;
|title  = Extending apgcodes to larger patterns&lt;br /&gt;
|format = ref&lt;br /&gt;
|author = Apple Bottom&lt;br /&gt;
|date   = July 25, 2016&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;post47999&amp;quot;&amp;gt;{{LinkForumThread&lt;br /&gt;
|p      = 47999&lt;br /&gt;
|title  = Re: apgsearch v3.1&lt;br /&gt;
|format = ref&lt;br /&gt;
|author = Adam P. Goucher&lt;br /&gt;
|date   = August 4, 2017&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;post48682&amp;quot;&amp;gt;{{LinkForumThread&lt;br /&gt;
|p      = 48682&lt;br /&gt;
|title  = Re: Extending apgcodes to larger patterns&lt;br /&gt;
|format = ref&lt;br /&gt;
|author = Adam P. Goucher&lt;br /&gt;
|date   = August 12, 2017&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;post49788&amp;quot;&amp;gt;{{LinkForumThread&lt;br /&gt;
|p      = 49788&lt;br /&gt;
|title  = Re: Catagolue browser extension&lt;br /&gt;
|format = ref&lt;br /&gt;
|author = BlinkerSpawn&lt;br /&gt;
|date   = August 24, 2017&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;post49793&amp;quot;&amp;gt;{{LinkForumThread&lt;br /&gt;
|p      = 49793&lt;br /&gt;
|title  = Re: Catagolue browser extension&lt;br /&gt;
|format = ref&lt;br /&gt;
|author = Adam P. Goucher&lt;br /&gt;
|date   = August 24, 2017&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{CatagolueNavbox}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Everything else]]&lt;br /&gt;
[[Category:File formats]]&lt;br /&gt;
[[Category:Algorithms]]&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:apgcode}}&lt;/div&gt;</summary>
		<author><name>SecondTypist</name></author>
	</entry>
</feed>