# Four-Color Outer Median Cellular Automata in 1D

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Outer median cellular automata (CA) are a functional form of the CellularAutomaton function in *Mathematica*. The color of the active cell on the next step is determined by first taking the median of the neighbors of the active cell up to a certain radius and then taking the floor of the median. Radius 1 means one neighbor on each side of the active cell, radius 2 means two neighbors on each side of the active cell, and so on up until radius 10). The pairs {active cell color, floor of median of neighbors} are then mapped to rules in color spaces as usual. Here there are four colors. A 1000-member rule space is sampled, since the entire rule space is too large. The CA evolution is 150 members wide and 150 steps long.

Contributed by: Abigail Nussey (March 2011)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

Created as part of a project for the NKS Summer School 2008 (*NKS|Online*).

## Permanent Citation

"Four-Color Outer Median Cellular Automata in 1D"

http://demonstrations.wolfram.com/FourColorOuterMedianCellularAutomataIn1D/

Wolfram Demonstrations Project

Published: March 7 2011