fstars.icn: Procedure to produce traces of fractal stars

procedure fstar:           fractal stars

link fstars
May 23, 1996; Ralph E. Griswold
This file is in the public domain.

This procedure produces traces of fractal "stars".  For a discussion of
fractal stars, see

     Fractals; Endlessly Repeated Geometrical Figures, Hans Lauwerier,
     Princeton University Press, 1991, pp. 72-77.

and

     Geometric and Artistic Graphics; Design Generation with
     Microcomputers, Jean-Paul Delahaye, Macmillan, 1987, pp. 55-63.

The arguments are:

     x, y, n, p, r, incr, extent

     x       x coordinate of the initial point, default 0
     y       y coordinate of the initial point, default 0.5
     n       number of vertices, default 5
     p       number of phases, default 5
     r       reduction factor, default 0.35
     incr    angular increment factor, default 0.8
     extent  extent of drawing, 1.0

Chosing values for these arguments that produce interesting results and
centering the star in the window is somewhat of an art.  See fstartbl.icn
for some good values.

Source code | Program Library Page | Icon Home Page