spt (version 2.5.1)

chaos: Chaos Games for Sierpinski (Pedal) Triangle

Description

To construct SPT/ST via Chaos games.

Usage

chaos(abc,...)

Arguments

abc

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

...

Controls.

Value

Iteration number should be large (say 10000).

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.

References

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

Examples

Run this code
# NOT RUN {
(abc1 = st(50,60))
chaos(abc1, iter=2000)
(abc2 = spt(50,60))
chaos(abc2,iter=1000)

# }

Run the code above in your browser using DataLab