fragmentum | R Documentation |
This function generates a coloured generative art ggplot object using randomly tessellated polygons.
fragmentum(
n_x = 10,
n_y = 10,
deg_jitter = 0.1,
linewidth = 0.5,
line_col = "black",
bg_col = "black",
col_palette = PrettyCols::prettycols("Lively"),
s = 1234
)
n_x |
Number of polygons per row. Default 10. |
n_y |
Number of polygons per column. Default 10. |
deg_jitter |
Numeric between 0 and 0.5 specifying the degree of jitter. Default 0.1. |
linewidth |
Width of lines between polygons. Default 0.5. |
line_col |
Colour of lines between polygons. Default |
bg_col |
Background colour. Default |
col_palette |
Vector of colours. Can be any length. Default |
s |
Seed value. Default 1234. |
A ggplot object.
fragmentum()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.