create_dead_leaves: Create a 'dead-leaves' image

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Create a 'dead-leaves' image

Usage

1
2
3
4
5
6
7
8
9
create_dead_leaves(
  height,
  width = height,
  shape = "square",
  grayscale = FALSE,
  sigma_n = 2,
  rmin = 0.02,
  rmax = 0.5
)

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

1

tsuda16k/noesis documentation built on Nov. 25, 2020, 10:16 a.m.