Creates a binary fractal.
CTREE(stages, cangle, cindex)
stages |
- |
Optional. An integer, the depth of fractal recursion. Defaults to 6. |
cangle |
- |
Optional. A real, the angle increment per radians. Defaults to 4. |
cindex |
- |
Optional. An integer, the starting color index. Defaults to 15, white. |
Multiple overplotted XY series.
ctree
displays a depth 6 binary C-Tree.
ctree(9)
displays a depth 9 binary C-Tree.
CTREE draws a binary fractal called the Pythagorean Tree created by
A. E. Bosman. The fractal is produced by starting with a square of width
W.
Two smaller squares of width
The SPL code is based on an algorithm by Hans Lauwerier.
Hans Lauwerier
Fractals: Endlessly Repeated Geometrical Figures.
Princeton University Press, 1991
p111-112