Skip to contents

This function creates generative art inspired by the Moiré effect.

Usage

moire(
  inner_n = 20,
  dist = 10,
  inner_col = "grey40",
  outer_col = "grey60",
  bg_col = "grey10",
  inner_r = 0.5,
  outer_r = 0.2
)

Arguments

inner_n

Number of bottom left circles. Default 20.

dist

Distance between bottom left and top right blocks. Default 4.

inner_col

Colour of bottom left circles. Default "grey40".

outer_col

Colour of top right circles. Default "grey60".

bg_col

Background colour. Default "grey10".

inner_r

Radius of bottom left circles. Default 0.5.

outer_r

Radius of top right circles. Default 0.2.

Value

A ggplot object.