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)
.
1 | colorVector(col, image, iters)
|
col |
A vector or list of colors |
image |
A vector or list of colors |
iters |
A number indicating the number of iterations desired.
If set to greater than 1, |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.