window_boxes | R Documentation |
This function generates a coloured generative art ggplot object using rectangles.
window_boxes(
n_x = 10,
n_y = 10,
col_palette = PrettyCols::prettycols("Beach", n = 5),
linewidth = 2,
rayshade = FALSE
)
n_x |
Number of squares per row. Default 10. |
n_y |
Number of squares per column. Default 10. |
col_palette |
Vector of colours. Default
|
linewidth |
Width of borders around squares. Default 2. |
rayshade |
Boolean determining whether the returned plot should be
converted to three dimensional using rayshader. If |
A ggplot object.
window_boxes()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.