heighway: Generate the Heighway Dragon

Description Usage Arguments Author(s) Examples

View source: R/ifs.R

Description

This function is used to perform a single iteration of the Heighway Dragon, which is simply the union of two functions applied to the same set of points.

Usage

1

Arguments

x

A 2-by-n matrix representing a set of points

Author(s)

Brian Lee Yung Rowe

Examples

1
2
3
4
library(lambda.tools)
# Create an instance with 12 iterations
x <- rbind(seq(0,1, by=0.05),0)
xn <- fold(1:12, function(a,b) heighway(b), x)

zatonovo/fractalrock documentation built on May 15, 2021, 7:28 p.m.