Description Usage Arguments Value Examples
Create a 'dead-leaves' image
1 2 3 4 5 6 7 8 9 | create_dead_leaves(
height,
width = height,
shape = "square",
grayscale = FALSE,
sigma_n = 2,
rmin = 0.02,
rmax = 0.5
)
|
height |
image height |
width |
image width |
shape |
the shape of leaves. either "square" (default) or "disk" |
grayscale |
either FALSE (default, color output) or TRUE (grayscale output) |
sigma_n |
numeric |
rmin |
minimum diameter of each leaf |
rmax |
maximum diameter of each leaf |
an image
1 | plot(create_dead_leaves(128))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.