Wolfram Language Paclet Repository (Under Development)

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • External Interfaces & Connections
    • Geographic Data & Computation
    • Graphs & Networks
    • Images
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Sound & Video
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
    • Using Paclets
    • Creating Paclets
    • New Definition Notebook
    • Random Paclet
    • Alphabetical List

Wireworld

Guides

  • Wireworld

Symbols

  • WireworldDraw
  • WireworldEvolve
  • WireworldPlot
  • WireworldStateQ
  • $WireworldFunctionRule
  • $WireworldNumberRule

Tutorials

  • WireworldPackage
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