define_pantograph: Define a pantograph

Description Usage Arguments Value Examples

Description

Define a pantograph

Usage

1
2
define_pantograph(orbit1, orbit2, offset1 = 0, offset2 = 0,
  n_segments = 3, segment_length = 1)

Arguments

orbit1

The first orbit it is attached to

orbit2

The second orbit it is attached to

offset1

The distance of the attachment from the origin of orbit1

offset2

The distance of the attachment from the origin of orbit2

n_segments

The number of segments in the pantograph

segment_length

The length of each segment

Value

pantograph

Examples

1
2
3
4
orbit1 <- define_orbit(c(0, 25), 1000)
orbit2 <- define_orbit(c(0, 8), 100, parent_orbit = orbit1)
orbit3 <- define_orbit(c(0, 1), 20, parent_orbit = orbit2)
pan <- define_pantograph(orbit3, orbit3, c(0, 1), c(0, 5), 3, 4)

alexwhan/guilloche documentation built on May 20, 2019, 2:20 p.m.