criss_cross | R Documentation |
This function generates a generative art ggplot object using intersecting lines.
criss_cross(
n = 25,
bg_col = "white",
line_col = "grey50",
linewidth = 0.1,
outline_col = "black",
outline_width = 1.5,
s = 1234
)
n |
Number of lines per corner. Default 25. |
bg_col |
Background colour. Default "white". |
line_col |
Vector of colours (or single colour). Default |
linewidth |
Width of lines. Default 0.1. |
outline_col |
Outline colour. Default |
outline_width |
Linewidth of outline. Default 1.5. |
s |
Random seed. Default 1234. |
A ggplot object.
criss_cross()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.