Description Usage Arguments Value See Also Examples
Drop some sand in the center and see it spread outwards.
1 | sandpile(n, colors = grey.colors(4, start = 1, end = 0))
|
n |
The number of grains dropped in the center. |
colors |
A vector of length 4 or |
A matrix of class "color_matrix", either containing colors or the
number of grains per cell, depending on the value of colors
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.