Skip to contents

This function generates a generative art ggplot object using points and lines.

Usage

abacus(
  nx = 30,
  ny = 100,
  max_size = 2,
  main_col = "black",
  bg_col = "white",
  s = 123
)

Arguments

nx

Number of lines in x direction. Default 30.

ny

Number of points per line. Default 100.

max_size

Maximum size of points. Default 2.

main_col

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

bg_col

Background colour. Default "white".

s

Random seed. Default 123.

Value

A ggplot object.