| cyclicCellularAutomata | R Documentation |
Functions to calculate cyclic cellular automata
runCCA(
input,
image = NULL,
numSteps = 10,
maxNum = 7,
nbhdType = "VN",
range = 1,
threshold = 1
)
randomInitialCCA(maxNum = 7, xSize = 100, ySize = 100)
makeCCA(input = NULL, .abcd = c("a", "d"), ...)
input |
a matrix |
image |
a matrix |
numSteps |
The number of iterations of the automata. |
maxNum |
The number of values a cell can have |
nbhdType |
The type of neighbourhood |
range |
the size of the neighbourhood |
threshold |
the requirement to advance a cell |
xSize, ySize |
size of a randomly generated starting grid |
.abcd |
controls which functions are action, build, camera or display. Default is ("a","d"). |
... |
parameters passed to the component and the component functions. See "details" for more information. |
.plotting |
logical vector of length two. Used for timing the functions runCCA and matrixToColours. |
makeCCA returns a component. runCCA returns a list containing the image. randomInitialCCA returns a matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.