spirals | R Documentation |
This function generates a generative art ggplot object consisting of dots arranged in a spiral.
spirals(
perc = 0.3,
bg_value = 500,
limit = 20,
max_size = 12,
col_palette = c("#413C58", "#D1495B", "#EDAE49", "#00798C", "#003D5B"),
highlight_col = "white",
bg_col = "black",
s = 1234
)
perc |
Percentage of data points to be non-NA. Default 0.3. |
bg_value |
Number of background points. Default 500. |
limit |
Scale limits. Default 20. |
max_size |
Maximum circle size. Default 12. |
col_palette |
Colour palette. Default |
highlight_col |
Colour of background dots. Default |
bg_col |
Background colour. Default |
s |
Seed value. Default 1234. |
A ggplot object.
spirals()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.