Simulate game of life in R. Either generate a new matrix or input your own .csv file. Supports saving simulations to .gif and live display in rstudio.
You can install the current version of golr from GitHub:
# install.packages("remotes")
remotes::install_github("wejengin2/golr")
gol_simulate_random(50, 25)
tf = system.file("exampledata/exampleboard.csv", package = "golr")
gol_simulate_input(tf, 50, "output.gif")
From random matrix
User supplied matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.