tiles | R Documentation |
This function generates a coloured generative art ggplot object using square polygons.
tiles(
n_x = 12,
n_y = 12,
col_palette = c("#67322e", "#99610a", "#6e948c", "#2c6b67", "#122c43"),
s = 1234
)
n_x |
Number of polygons per row. Default 12. |
n_y |
Number of polygons per column. Default 18. |
col_palette |
Vector of colours. Default |
s |
Seed value. Default 1234. |
A ggplot object.
tiles()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.