https://github.com/djnavarro/webr-automata
https://github.com/djnavarro/webr-automata
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/djnavarro/webr-automata
- Owner: djnavarro
- Created: 2023-04-08T03:32:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-13T23:47:55.000Z (about 2 years ago)
- Last Synced: 2025-02-24T00:51:14.265Z (about 2 months ago)
- Language: R
- Homepage: https://webr-automata.djnavarro.net/
- Size: 11.7 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - djnavarro/webr-automata - (R)
README
# Simple cellular automaton in WebR
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 website
- `automaton.R` defines the R function that runs the automaton
- `webr-app.js` contains the javascript code that calls WebROther files include:
- `webr-serviceworker.js` is needed by WebR
- `webr-worker.js` is needed by WebR
- `serve.R` is a convenience script to serve the site locally
- `netlify.toml` supplies headers needed when deploying to netlify