Skip to contents

This function generates a coloured generative art ggplot object using square polygons.

Usage

tiles(
  n_x = 12,
  n_y = 12,
  col_palette = MetBrewer::met.brewer("Veronese", 5),
  s = 1234
)

Arguments

n_x

Number of polygons per row. Default 12.

n_y

Number of polygons per column. Default 18.

col_palette

Vector of colours. Default Veronese palette from MetBrewer.

s

Seed value. Default 1234.

Value

A ggplot object.