Outputs a color vector.
If the combined length of col
and image
is 2, and iters
is greather than 1,
this function creates a gradient from first specified color to the second. The length of said
vector will be equal to iters
.
If the combined length of col
and image
is greater than two, then the output will
be a vector of whatever was input into col
and image
with output length being
min(length(col) + length(image), iters)
.
colorVector(col, image, iters)
A vector or list of colors
A vector or list of colors
A number indicating the number of iterations desired.
If set to greater than 1, iters
becomes the length of the output.