Home Download Help Forum Resources Extensions FAQ NetLogo Publications Contact Us Donate Models: Library Community Modeling Commons Beginners Interactive NetLogo Dictionary (BIND) NetLogo Dictionary User Manuals: Web Printable Chinese Czech Farsi / Persian Japanese Spanish

NetLogo Models Library: 
If you download the NetLogo application, this model is included. You can also Try running it in NetLogo Web 
This program is a onedimensional threecolor totalistic cellular automata. In a totalistic CA, the value of the next cell state is determined by the sum of the current cell and its neighbors, not by the values of each individual neighbor. The model allows you to explore all 2,187 3color totalistic configurations.
This model is intended for the more sophisticated users who are already familiar with basic 1D CA's. If you are exploring CA for the first time, we suggest you first look at one of the simpler CA models such as CA 1D Rule 30.
Each cell may have one of three colors with the value 0, 1, or 2. The next state of a cell is determined by taking the sum value of the center, right, and left cell, yielding seven possible sums, 06, represented as the statetransition sliders sum0 through sum6. Each of these seven possible states maps on to one of the 3 colors which can be set using the statetransition sliders.
SETUP SINGLE: Sets up a single colortwo cell centered in the top row SETUP RANDOM: Sets up cells of random colors across the top row based on the following settings:  onetwoproportion: the proportion between colorone and colortwo  density: what percentage of the top row should be filled randomly with colorone and colortwo AUTOCONTINUE?: Automatically continue the CA from the top once it reaches the bottom row GO: Run the CA. If GO is clicked again after a run, the run continues from the top CODE: Decimal representation of the seven base three configurations of the totalistic CA SWITCHES: The rules for the CA. Examples:  sum0: all colorzero  sum1: two colorzero and one colorone  sum2: two colorone and one colorzero, OR two colorzero and one colortwo  sum6: all colortwo COLORS: Set the three colors used in the CA
How does the complexity of the threecolor totalistic CA differ from the twocolor CA? (see the CA 1D Elementary model)
Do most configurations lead to constantly repeating patterns, nesting, or randomness? What does this tell you about the nature of complexity?
CAs often have a great deal of symmetry. Can you find any rules that don't exhibit such qualities? Why do you think that may be?
Try starting different configurations under a set of initial random conditions. How does this effect the behavior of the CA?
How does the density of the initial random condition relate to the behavior of the CA?
Does the proportion between the first and second color make a difference when starting from a random condition?
Try having the CA use more than three colors.
What if the CA didn't just look at its immediate neighbors, but also its second neighbors?
Try making a twodimensional cellular automaton. The neighborhood could be the eight cells around it, or just the cardinal cells (the cells to the right, left, above, and below).
Life  an example of a twodimensional cellular automaton CA 1D Rule 30  the basic rule 30 model CA 1D Rule 30 Turtle  the basic rule 30 model implemented using turtles CA 1D Rule 90  the basic rule 90 model CA 1D Rule 250  the basic rule 250 model CA 1D Elementary  a simple onedimensional 2state cellular automata model CA Continuous  a totalistic continuousvalued cellular automata with thousands of states
Thanks to Eytan Bakshy for his help with this model.
The first cellular automaton was conceived by John Von Neumann in the late 1940's for his analysis of machine reproduction under the suggestion of Stanislaw M. Ulam. It was later completed and documented by Arthur W. Burks in the 1960's. Other twodimensional cellular automata, and particularly the game of "Life," were explored by John Conway in the 1970's. Many others have since researched CA's. In the late 1970's and 1980's Chris Langton, Tom Toffoli and Stephen Wolfram did some notable research. Wolfram classified all 256 onedimensional twostate singleneighbor cellular automata. In his recent book, "A New Kind of Science," Wolfram presents many examples of cellular automata and argues for their fundamental importance in doing science.
See also:
Von Neumann, J. and Burks, A. W., Eds, 1966. Theory of SelfReproducing Automata. University of Illinois Press, Champaign, IL.
Toffoli, T. 1977. Computation and construction universality of reversible cellular automata. J. Comput. Syst. Sci. 15, 213231.
Langton, C. 1984. Selfreproduction in cellular automata. Physica D 10, 134144
Wolfram, S. 1986. Theory and Applications of Cellular Automata: Including Selected Papers 19831986. World Scientific Publishing Co., Inc., River Edge, NJ.
BarYam, Y. 1997. Dynamics of Complex Systems. Perseus Press. Reading, Ma.
Wolfram, S. 2002. A New Kind of Science. Wolfram Media Inc. Champaign, IL.
If you mention this model or the NetLogo software in a publication, we ask that you include the citations below.
For the model itself:
Please cite the NetLogo software as:
Copyright 2002 Uri Wilensky.
This work is licensed under the Creative Commons AttributionNonCommercialShareAlike 3.0 License. To view a copy of this license, visit https://creativecommons.org/licenses/byncsa/3.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
Commercial licenses are also available. To inquire about commercial licenses, please contact Uri Wilensky at uri@northwestern.edu.
This model was created as part of the projects: PARTICIPATORY SIMULATIONS: NETWORKBASED DESIGN FOR SYSTEMS LEARNING IN CLASSROOMS and/or INTEGRATED SIMULATION AND MODELING ENVIRONMENT. The project gratefully acknowledges the support of the National Science Foundation (REPP & ROLE programs)  grant numbers REC #9814682 and REC0126227.
(back to the NetLogo Models Library)