Skip to contents

This function generates a generative art ggplot object consisting of circles filled with ellipses.

Usage

bubbles(
  num_circles = 20,
  main_col = "black",
  col_palette = rcartocolor::carto_pal(n = 12, "Bold"),
  bg_col = "white",
  s = 1234
)

Arguments

num_circles

Number of circles. Default 20.

main_col

Colour of non-highlighted rectangles. Default "black".

col_palette

Vector of colours. Default "Bold" colour palette from rcartocolor. Must have 12 colours.

bg_col

Background colour. Default "white".

s

Seed value. Default 1234.

Value

A ggplot object