Skip to contents

This function generates a coloured generative art ggplot object from treemaps.

Usage

puzzles(
  n = 200,
  num_groups = 30,
  col_palette = PrettyCols::prettycols("Beach"),
  bg_col = "white",
  s = 1234
)

Arguments

n

Number of boxes. Default 200.

num_groups

Number of larger boxes. Default 30.

col_palette

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

bg_col

Background colour. Default "white".

s

Seed value. Default 1234.

Value

A ggplot object.