Skip to contents

This function generates generative art from multiple smooth lines.

Usage

squiggles(
  res = 100,
  num_lines = 100,
  perc = 0.1,
  alpha_low = 0.5,
  alpha_high = 1,
  line_col = "white",
  bg_col = "black",
  s = 1234
)

Arguments

res

Resolution of grid. Default 100.

num_lines

Number of lines to draw. Default 100.

perc

Percentage to colour darker. Default 0.1.

alpha_low

Transparency of majority of lines. Default 0.5.

alpha_high

Transparency of minority of lines. Default 1.

line_col

Colour of lines. Default "white".

bg_col

Background colour. Default "black".

s

Random seed. Default 1234.

Value

A ggplot object.