I\'m drawing each point of a vector as a vertex in P5.js. I would like to change the color of each vertex in a loop separately like a rainbow. The thing is that
P5.js