powered by
This function paints random ribbons and (optionally) a triangle in the middle.
canvas_ribbons( colors, background = "#fdf5e6", triangle = TRUE )
A ggplot object containing the artwork.
ggplot
a string or character vector specifying the color(s) used for the artwork. The number of colors determines the number of ribbons.
a character specifying the color of the background.
logical. Whether to draw the triangle that breaks the ribbon polygons.
Koen Derks, koen-derks@hotmail.com
colorPalette
# \donttest{ set.seed(1) # Simple example canvas_ribbons(colors = colorPalette("retro1")) # }
Run the code above in your browser using DataLab