Cobweb Diagrams of Elementary Cellular Automata

Each possible state in the evolution of an elementary cellular automaton (ECA) can be uniquely labeled by an integer. For a finite-width ECA, this set is mapped to itself during the ECA evolution. Thus an ECA defines a recurrence relation on a finite set of integers. In fact, this can be applied to map the Cantor set to itself (see Related Links and Details sections).
Like more familiar iterated maps, such as the logistic map, cobweb diagrams show the dynamics of such a map. This Demonstration simultaneously plots cobwebs starting from all possible initial states of a finite ECA to show fast convergence to an invariant pattern. In the case of type 3 rules with high randomness, trajectories completely mix and almost cover the whole space. In other cases the patterns can be quite intricate, reflecting the subtle interplay between various attracting or repelling cycles of evolution.
The opacity control helps to find a suitable "density depth" that captures both frequently and seldomly visited orbits. The buttons "left" and "right" indicate the direction from which the binary ECA state is read. Please wait for an evaluation to complete before varying a control, as the computations take time to finish. Browse the snapshots and bookmarks for interesting patterns. The typical samples shown at the bottom-left under the controls are illustrative; the cobwebs were not built from them.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


[1] J. D. Farmer, "Dimension, Fractal Measures, and Chaotic Dynamics," in Evolution of Order and Chaos in Physics, Chemistry, and Biology: Proceedings of the International Symposium on Synergetics, Bavaria, Germany (H. Haken, ed.), Berlin: Springer-Verlag, 1982 pp. 228–246. doi:10.1007/978-3-642-68808-9_20.
[2] J. D. Farmer, "Information Dimension and the Probabilistic Structure of Chaos," Zeitschrift für Naturforschung A, 37, 1982 pp. 1304–1325.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+