All attractors should be dspoints
with the attractor
flag set to TRUE
,
and should already be composed with the model. Attractors may
have display=FALSE
set to avoid displaying the attractor itself. Their color (or region
color, if defined) will be
used as the color of the region. If there are no points with the attractor
flag set,
then all points are used as possible attractors. This is not recommended.
If iters
is not set, or is set to NULL
, then each point will be individually
iterated until within epsilon
distance of an attractor, or until it moves less
than tolerance
between iterations. Points that stop moving further
than epsilon
of an attractor, are colored missingCol
, default
"NA".
If iters
is given a numeric value, each point is iterated exactly iters
times, and tolerance
will have no effect.
If the final image is within epsilon
of an attractor, then the square is colored appropriately.
If not, then the point is colored missingCol
, default "NA".
This will take bounded time, but may give a poorer result.
If iters
is given an infinite value, the points are iterated until they move less than
tolerance
distance. An attractor is chosen only if it falls within epsilon
distance,
otherwise the point is colored missingCol
.
The image
function is used to display the results.