User:LuveelVoom/A Primer On OCA: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 15: Line 15:
{{LV:Viewer|x = 7, y = 3, rule = B3/S23
{{LV:Viewer|x = 7, y = 3, rule = B3/S23
o3b3o$3o2bo$bo!
o3b3o$3o2bo$bo!
[[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 ]]}}
[[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 THUMBNAIL ]]}}
In a different cellular automata, however, the rules are changed. Try, for example, running the same pattern, but this time in [[HighLife]], where a cell is born with 3 or 6 living neighbors and lives with 2 or 3:
In a different cellular automata, however, the rules are changed. Try, for example, running the same pattern, but this time in [[HighLife]], where a cell is born with 3 or 6 living neighbors and lives with 2 or 3:
{{LV:Viewer|x = 7, y = 3, rule = B36/S23
{{LV:Viewer|x = 7, y = 3, rule = B36/S23
o3b3o$3o2bo$bo!
o3b3o$3o2bo$bo!
[[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 ]]}}
[[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 THUMBNAIL ]]}}
Note that the two patterns very quickly diverge from each other. In OCA, you can't just take patterns from Life for granted, especially in rules with very different behavior to Life. You'll have to find new patterns to achieve wanted behavior. Sometimes, patterns exist in rules that have no comparable counterpart in Life:
Note that the two patterns very quickly diverge from each other. In OCA, you can't just take patterns from Life for granted, especially in rules with very different behavior to Life. You'll have to find new patterns to achieve wanted behavior. Sometimes, patterns exist in rules that have no comparable counterpart in Life:
{{LV:Viewer|x = 5, y = 5, rule = B36/S23
{{LV:Viewer|x = 5, y = 5, rule = B36/S23
2b3o$bo2bo$o3bo$o2bo$3o!
2b3o$bo2bo$o3bo$o2bo$3o!
[[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 ]]}}
[[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 THUMBNAIL ]]}}
Even stranger, some rules lack entire object types that Life doesn't have. In Seeds, for example, a cell is born with 2 living neighbors and always dies in the next generation, making [[still lives]] impossible
Even stranger, some rules lack entire object types that Life doesn't have. In Seeds, for example, a cell is born with 2 living neighbors and always dies in the next generation, making [[still lives]] impossible.
=== Object Recognition ===
=== Object Recognition ===
If objects from standard Life don't work in OCA, how will you know what they do? Thankfully, there are a couple of tools to identify what an object is doing. The most powerful of these tools is your own brain. When you notice an object, you should be able to quickly recognize what it is. Here are common objects in a convenient table. You probably already know most of these, but a refresher is nice:
{| class="wikitable" style="margin:auto"
|-
! Object type !! Behavior !! Example from Life
|-
| [[Still life]] || Does not change after a generation || [[Block]]
|-
| [[Oscillator]] || Returns to initial state after some number of generations || [[Blinker]]
|-
| [[Spaceship]] || Returns to initial state, plus displacement, after some number of generations || [[Glider]]
|-
| [[Active region]] || Common chaotic pattern, which can be used in catalyses || [[Herschel]]
|-
| [[Replicator]] || Creates a copy of itself, leading to infinite growth || No [[elementary]] examples in Life, but one is shown above
|-
| [[Puffer]] || Like a spaceship, but leaves objects behind it. (Called a rake if it leaves only spaceships, and a breeder if it leaves puffers|| [[Block-laying switch engine]]
|}


==== oscar: Your new best friend ====
==== oscar: Your new best friend ====
Line 137: Line 154:
{{LV:Viewer|x = 7, y = 3, rule = B3/S23
{{LV:Viewer|x = 7, y = 3, rule = B3/S23
o3b3o$3o2bo$bo!
o3b3o$3o2bo$bo!
[[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 ]]}}
[[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 THUMBNAIL ]]}}
{{Compact TOC}}
{{Compact TOC}}

Revision as of 22:24, 10 April 2025

Introduction

!!! CURRENTLY A WIP !!!

So you've messed around with Conway's Game of Life, but are struggling to find anything new? You want to make real discoveries? OCA (Other Cellular Automata) may be of interest for you. This guide aims to give you an introduction to OCA. It will include LifeViewer inserts, but you probably want either a Golly or LifeViewer window in the background to follow along. Exercises will be included at the end of some subchapters.

1: Other Cellular Automata

This chapter will cover the basics: what OCA are and how to recognize objects.

What's OCA?

An OCA is a cellular automata that does not follow the standard behavior of Life. Recall that in Life, a cell is born with 3 living neighbors and remains alive if it has 2 or 3 living neighbors:

x=7, y = 3, rule = B3/S23 o3b3o$3o2bo$bo! [[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 THUMBNAIL ]]

In a different cellular automata, however, the rules are changed. Try, for example, running the same pattern, but this time in HighLife, where a cell is born with 3 or 6 living neighbors and lives with 2 or 3:

x=7, y = 3, rule = B36/S23 o3b3o$3o2bo$bo! [[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 THUMBNAIL ]]

Note that the two patterns very quickly diverge from each other. In OCA, you can't just take patterns from Life for granted, especially in rules with very different behavior to Life. You'll have to find new patterns to achieve wanted behavior. Sometimes, patterns exist in rules that have no comparable counterpart in Life:

x=5, y = 5, rule = B36/S23 2b3o$bo2bo$o3bo$o2bo$3o! [[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 THUMBNAIL ]]

Even stranger, some rules lack entire object types that Life doesn't have. In Seeds, for example, a cell is born with 2 living neighbors and always dies in the next generation, making still lives impossible.

Object Recognition

If objects from standard Life don't work in OCA, how will you know what they do? Thankfully, there are a couple of tools to identify what an object is doing. The most powerful of these tools is your own brain. When you notice an object, you should be able to quickly recognize what it is. Here are common objects in a convenient table. You probably already know most of these, but a refresher is nice:

Object type Behavior Example from Life
Still life Does not change after a generation Block
Oscillator Returns to initial state after some number of generations Blinker
Spaceship Returns to initial state, plus displacement, after some number of generations Glider
Active region Common chaotic pattern, which can be used in catalyses Herschel
Replicator Creates a copy of itself, leading to infinite growth No elementary examples in Life, but one is shown above
Puffer Like a spaceship, but leaves objects behind it. (Called a rake if it leaves only spaceships, and a breeder if it leaves puffers Block-laying switch engine

oscar: Your new best friend

Limitations of oscar: recognizing replicators, puffers, and other strange growth

What's interesting?

Outer Totalistic

A mostly dry rulespace

Islands of interesting behavior

life !!!!!!!!!!!!!!!!!!!

Isotropic Non-totalistic

How do you navigate a 102-dimensional hypercube?

INT is unimaginably vast

What to look for in an interesting rule

Islands of really interesting behavior

2: Exploring OCA

Classifying OCA

Rulegolfing

When to rulegolf

When NOT to rulegolf

Object-XORing

Rulegolfing with COMPUTERS

3: Techniques for OCA

Corderization

Corderizing Basics

The puffer is oblique!!!

The puffer is dirty!!!!!!

When to give up

Gun construction

Leverage your oscillators

Overunity reactions

Now is a good time to talk about reflectors

Circuitry

Catalysis

Oscillators: certainly underused

Now is a better time to talk about reflectors

Other useful components

Turing-completeness

W110

Universal construction

=== Omniperiodicity and beyond

=== (maybe more advanced stuff here?)

4: Beyond Moore and the Binary

Larger than life

Rules with more than two states

Ruletables: your new archnemesis

Exotic cellular automata

Appendixes

I: Uncommon Nomenclature

II: Useful Programs

III: Useful Threads

IV: INT restriction sets

Index

luveel's lifeviewer configuration:

x=7, y = 3, rule = B3/S23 o3b3o$3o2bo$bo! [[ GPS 20 STEP 1 WIDTH 600 HEIGHT 360 GRID SHADER BASIC THEME 6 THUMBSIZE 2 ZOOM 16.0 THUMBNAIL ]]

Template:Compact TOC