squares | R Documentation |
This function generates a generative art ggplot object using pattern-filled squares
squares(
n = 7,
line_col = "white",
pattern_col = "white",
pattern_fill = "black",
pattern_size = 0.4,
size = 1.5,
s = 1234
)
n |
Number of squares per row. Default 7 |
line_col |
Colour of lines between squares. Default "white". |
pattern_col |
Colour of pattern lines. Default "white". |
pattern_fill |
Colour of pattern background. Default "black". |
pattern_size |
Size of pattern. Default 0.4. |
size |
Size of lines between squares. Default 1.5. |
s |
Random seed. Default 1234. |
A ggplot object.
squares()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.