powered by
This function draws split lines.
canvas_splits( colors, background = "#fafafa", iterations = 6, sd = 0.2, lwd = 0.05, alpha = 0.5 )
A ggplot object containing the artwork.
ggplot
a string or character vector specifying the color(s) used for the artwork.
a character specifying the color used for the background (and the hole).
a positive integer specifying the number of iterations of the algorithm.
a numeric value specifying the standard deviation of the angle noise.
a numeric value specifying the width of the lines.
a numeric value specifying the transparency of the lines.
Koen Derks, koen-derks@hotmail.com
colorPalette
# \donttest{ set.seed(2) # Simple example canvas_splits(colors = "black", sd = 0) # Simple example canvas_splits(colors = colorPalette("dark2"), background = "black", sd = 1) # }
Run the code above in your browser using DataLab