Skip to contents

This function generates a coloured generative art ggplot object from intersecting lines.

Usage

divide(
  num_lines = 30,
  col_palette = PrettyCols::prettycols("TangerineBlues"),
  rayshade = FALSE,
  s = 1234
)

Arguments

num_lines

Number of intersecting lines. Default 30.

col_palette

Vector of colours. Default PrettyCols::prettycols("TangerineBlues").

rayshade

Boolean determining whether the returned plot should be converted to three dimensional using rayshader. If TRUE, {rayshader} is required to be installed. Default FALSE.

s

Seed value. Default 1234.

Value

A ggplot object.