riley | R Documentation |
This function generates a coloured generative art ggplot object from intersecting lines. Inspired by Balm by Bridget Riley.
riley(n_x = 9, n_y = 9, offset = 3, main_col = "black", bg_col = "white")
n_x |
Number of circles in x-direction. Default 9. |
n_y |
Number of circles in y-direction. Default 9. |
offset |
Numeric giving offset of y-axis. Default 3. |
main_col |
Main colour. Default "black". |
bg_col |
Background colour. Default "white". |
A ggplot object.
riley()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.