VEX – Random Colors

//
//
//
//Assign random colors points or primitives

float r = random(@ptnum+1);
float g = random(@ptnum+2);
float b = random(@ptnum+3);
@Cd = set(r, g, b);