moire | R Documentation |
This function creates generative art inspired by the Moiré effect.
moire(
inner_n = 20,
dist = 10,
inner_col = "grey40",
outer_col = "grey60",
bg_col = "grey10",
inner_r = 0.5,
outer_r = 0.2
)
inner_n |
Number of bottom left circles. Default 20. |
dist |
Distance between bottom left and top right blocks. Default 4. |
inner_col |
Colour of bottom left circles. Default "grey40". |
outer_col |
Colour of top right circles. Default "grey60". |
bg_col |
Background colour. Default "grey10". |
inner_r |
Radius of bottom left circles. Default 0.5. |
outer_r |
Radius of top right circles. Default 0.2. |
A ggplot object.
moire()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.