Skip to contents

This function generates a generative art ggplot object using intersecting lines.

Usage

criss_cross(
  n = 25,
  bg_col = "white",
  line_col = "grey50",
  linewidth = 0.1,
  outline_col = "black",
  outline_width = 1.5,
  s = 1234
)

Arguments

n

Number of lines per corner. Default 25.

bg_col

Background colour. Default "white".

line_col

Vector of colours (or single colour). Default "grey50".

linewidth

Width of lines. Default 0.1.

outline_col

Outline colour. Default "black".

outline_width

Linewidth of outline. Default 1.5.

s

Random seed. Default 1234.

Value

A ggplot object.