How to set random colors

Hi @Ipboro

Welcome to the forum!

I would recommend you to look the random method

Then, you can define the colors and assign it to the stroke

int R = (int)random(0,255);
int G = (int)random(0,255);
int B = (int)random(0,255);

stroke(color(R,G,B));

Hope it helps!
Best regards

1 Like