Function cool_colours creates a vector of colours of length n^d to put as a col parameter in plot.IFS

cool_colours(n, d, ...)

Arguments

n

number of functions making a fractal

d

density of a fractal

...

other parameters for rainbow function (see ? rainbow)