import processing.pdf.*; // import pdf library!

color[] colorList = {color(255, 255, 0, 80), color(200, 0, 125, 60), color(0, 100, 255, 60), color(0, 0, 0, 60)};
// select colors, yellow, pink and blue!
int x;
int y;

void setup() {
size(800, 800);
noLoop();
background(255);
x= width/2;
y= height/2;
beginRecord(PDF, "logo_generative01.pdf"); // save as PDF!
}

void draw() {
int w = (int)random(20, 45);
for (int i =0; i color randomColor = colorList[(int)random(colorList.length)];
fill(randomColor);
noStroke();
triangle(x, y, x+15, y, random(x-200, x+200), random(y-200, y+200));
}
endRecord();
}