sierpinski5: Generate the Sierpinski Pentagon

Description Usage Arguments Author(s) See Also Examples

View source: R/ifs.R

Description

This function generates a single iteration of the Sierpinski Pentagon, which replaces a pentagon with 5 smaller pentagons where each vertex contains a pentagon.

Usage

1

Arguments

x

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

Author(s)

Brian Lee Yung Rowe

See Also

sierpinski3 sierpinski4

Examples

1
2
3
library(lambda.tools)
x <- polygon(5)
xn <- fold(1:5, function(a,b) sierpinski5(b), x)

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