canvas_cobweb {aRtsy} | R Documentation |
This function draws many Fibonacci spirals shifted by random noise from a normal distribution.
canvas_cobweb(colors, background = "#fafafa", lines = 300,
iterations = 100)
colors |
a string or character vector specifying the color(s) used for the artwork. |
background |
a character specifying the color used for the background. |
lines |
the number of lines to draw. |
iterations |
the number of iterations of the algorithm. |
A ggplot
object containing the artwork.
Koen Derks, koen-derks@hotmail.com
colorPalette
set.seed(1)
# Simple example
canvas_cobweb(colors = colorPalette("neon1"), background = "black")