butterfly_curve: Butterfly curve

Description Usage Arguments Examples

View source: R/butterfly_curve.R

Description

Generates data for plotting a generalised butterfly curve (Fay, 1989) and stores it in a data frame with (x, y) coordinates. Refer to the Wikipedia article for details.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
butterfly_curve(
  n = 1000,
  a = 12,
  b = 12,
  c = 2,
  d = 2,
  e = 4,
  f = 4,
  g = 5,
  h = 5,
  i = 12,
  j = 12
)

Arguments

n

The number of points to generate

a

A parameter

b

A parameter

c

A parameter

d

A parameter

e

A parameter

f

A parameter

g

A parameter

h

A parameter

i

A parameter

j

A parameter

Examples

1

marcusvolz/mathart documentation built on May 24, 2021, 4:16 p.m.