Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

Wireworld

Guides

  • Wireworld

Tech Notes

  • Wireworld Package

Symbols

  • WireworldDraw
  • WireworldEvolve
  • WireworldPlot
  • WireworldStateQ
  • $WireworldFunctionRule
  • $WireworldNumberRule
DanielS`Wireworld`
$WireworldFunctionRule
​
$WireworldFunctionRule
is a list representing a
CellularAutomaton
general function rule.
Details

Examples  
(3)
Basic Examples  
(2)
Show the
CellularAutomaton
general function rule that emulates Wireworld:
In[1]:=
$WireworldFunctionRule
Out[1]=
{Switch[#1〚2,2〛,0,0,1,2,2,3,3,If[0<Count[#1,1,2]<3,1,3],_,0]&,{},{1,1}}
———
Use the rule to compute the evolution of a Wireworld state using
CellularAutomaton
:
In[1]:=
WireworldPlot
/@CellularAutomaton
$WireworldFunctionRule
,SparseArray
Specified elements: 14
Dimensions: {5,11}
,2
Out[1]=

,
,

Properties & Relations  
(1)

SeeAlso
WireworldEvolve
 
▪
$WireworldNumberRule
 
▪
WireworldPlot
RelatedGuides
▪
Wireworld

Powered by the Wolfram Cloud More about Wolfram Technology

© 2022 Wolfram Research, Inc. All rights reserved. Terms of Use Privacy Contact Us