squiggles | R Documentation |
This function generates generative art from multiple smooth lines.
squiggles(
res = 100,
num_lines = 100,
perc = 0.1,
alpha_low = 0.5,
alpha_high = 1,
line_col = "white",
bg_col = "black",
s = 1234
)
res |
Resolution of grid. Default 100. |
num_lines |
Number of lines to draw. Default 100. |
perc |
Percentage to colour darker. Default 0.1. |
alpha_low |
Transparency of majority of lines. Default 0.5. |
alpha_high |
Transparency of minority of lines. Default 1. |
line_col |
Colour of lines. Default "white". |
bg_col |
Background colour. Default "black". |
s |
Random seed. Default 1234. |
A ggplot object.
squiggles()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.