Four-Color Outer Median Cellular Automata on the Grid

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. In two dimensions, radius 1 means the eight neighbors around the central active cell, and radius 2 means out to the sixteen neighbors around the eight neighbors around the central active cell. 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.

Developed as part of a project for the 2008 NKS Summer School.
comments
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+