gemm_turmite | R Documentation |
[Turmites](https://en.wikipedia.org/wiki/Turmite) are a type of Turing machine, randomly walking across a 2D grid. This function simulates a two-state relative turmite and graphs the result in ggplot2.
gemm_turmite( n_steps = 1000, color = sample(grDevices::colors(), 1), seed = NULL )
n_steps |
The number of steps to walk the turmite through. |
color |
The color to graph "success" values in (the more rare color). |
seed |
The random seed to use. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.