This repository contains source code for the cellular automaton hosted at https://webr-automata.djnavarro.net/. Most of the code is in the following files:
index.html
contains the skeleton of the websiteautomaton.R
defines the R function that runs the automatonwebr-app.js
contains the javascript code that calls WebR
Other files include:
webr-serviceworker.js
is needed by WebRwebr-worker.js
is needed by WebRserve.R
is a convenience script to serve the site locallynetlify.toml
supplies headers needed when deploying to netlify