Description Usage Arguments Value Examples
View source: R/gol_simulate_random.R
Function that simulates Game of Life with given size and length parameters
1 | gol_simulate_random(side, loops, filename = "")
|
side |
size of the side of the square board |
loops |
amount of iterations of the simulation |
filename |
output .gif filename, determines whether we want a live plot display or a saved .gif. FALSE by default |
.gif file of the simulation or live display of the simulation
1 2 | gol_simulate_random(50, 25,"randomsim.gif")
gol_simulate_random(100, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.