bricks | R Documentation |
This function generates a coloured generative art ggplot object using polygons.
bricks(
n_y = 20,
colours = c("#9B1D20", "#3D2B3D", "#CBEFB6", "#635D5C"),
bg_col = "gray97",
s = 1234
)
n_y |
Number of rows. Default 20. |
colours |
Vector of colours. Can be any length. Default c("#9B1D20", "#3D2B3D", "#CBEFB6", "#635D5C"). |
bg_col |
Background colour. Default "gray97". |
s |
Seed value. Default 1234. |
A ggplot object.
bricks()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.