The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
An R package for creating cellular automata.
library(cellularautomata)
You can generate a cellular automaton using the ca
function, specifying the Wolfram rule. For example:
ca(18) |> plot()
ca(30) |> plot()
ca(45) |> plot()
ca(195) |> plot()
You can get an animation of a cellular automaton using
plot(animate = TRUE)
:
ca(30, ncols = 20, steps = 30) |> plot(animate = TRUE)
By default the line is wrapped, meaning it is actually a circle, with the end connected to the beginning.
You can plot it using polar coordinates:
ca(193, steps = 50) |> plot(time_flow = "up", circle = TRUE)
This also works for animations:
ca(193, ncols = 25, steps = 100) |> plot(circle = TRUE, animate = TRUE)
Original function created by Nicola Procopio.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.