create_dead_leaves: Create a 'dead-leaves' image

View source: R/pictplot.R

create_dead_leavesR Documentation

Create a 'dead-leaves' image

Description

Create a 'dead-leaves' image

Usage

create_dead_leaves(
  height,
  width = height,
  shape = "square",
  grayscale = FALSE,
  sigma_n = 2,
  rmin = 0.02,
  rmax = 0.4
)

Arguments

height

image height

width

image width

shape

the shape of leaves. either "square" (default) or "disk"

grayscale

either FALSE (default, color output) or TRUE (grayscale output)

sigma_n

numeric

rmin

minimum diameter of each leaf

rmax

maximum diameter of each leaf

Value

an image

Examples

plot(create_dead_leaves(128))

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.