waves | R Documentation |
This function generates a generative art ggplot object from sine and cosine waves.
waves(
a = 23,
b = 6,
linewidth = 0.5,
main_col = "black",
bg_col = "white",
s = 2021
)
a |
sine wave parameter. Default 23. |
b |
Cosine wave parameter. Default 6. |
linewidth |
Width of lines. Default 0.5. |
main_col |
Vector of colours (or single colour) for lines. Default "black". |
bg_col |
Background colour. Default "white". |
s |
Seed value. Default 2021. |
A ggplot object.
waves()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.