Skip to contents

This function generates a generative art ggplot object connecting points through arcs on a circle.

Usage

connected(
  n = 100,
  n_geom = 2,
  random = FALSE,
  col_palette = RColorBrewer::brewer.pal(n = 9, "RdPu"),
  bg_col = "#ae217e",
  s = 1234
)

Arguments

n

Number of lines to start. Default 100.

n_geom

Number of points along path to create. Default 2.

random

Boolean value for whether to randomise plotting order of edges.

col_palette

Vector of colours. Default "RdPu" colour palette from RColorBrewer.

bg_col

Background colour. Default "#ae217e".

s

Seed value. Default 1234.

Value

A ggplot object.