Chaos Games for Sierpinski (Pedal) Triangle

Description

To construct SPT/ST via Chaos games.

Usage

1
  chaos(abc,...)

Arguments

abc

An R object of class 'st' or 'spt'.

...

Controls.

Details

If 'abc' is an acute triangle or obtuse 'st' triangle, the algorithms works. For obtuse 'spt' triangle, we need think of something else to measure the dimention.

Value

Iteration number should be large (say 10000).

Author(s)

B. Wang bwang@jaguar1.usouthal.edu

References

Zhang, XM., Hitt, R. Wang, B. and Ding, J. (2008). Sierpinski Pedal Triangle. Fractals. 16(2): 141-150.

Examples

1
2
3
4
(abc1 = st(50,60))
chaos(abc1, iter=2000)
(abc2 = spt(50,60))
chaos(abc2,iter=1000)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.