changevar SciMax Toolbox charat

SciMax Toolbox >> chaosgame

chaosgame

Maxima Function

Calling Sequence

chaosgame ([[x1, y1]...[xm, ym]], [x0, y0], b, n, ..., options, ...);

Description

Implements the so-called chaos game: the initial point (x0, y0) is plotted and then one of the m points [x1, y1]...[xm, ym] will be selected at random. The next point plotted will be on the segment from the previous point plotted to the point chosen randomly, at a distance from the random point which will be b times that segment's length. The procedure is repeated n times.

changevar SciMax Toolbox charat