xxxxxxxxxx
//import processing.pdf.*;
size (600,600);
//beginRecord(PDF, "dibujo10.pdf");
background(150, 40, 20);
beginShape(TRIANGLE_FAN);
vertex(600, 0);
//vertex(200, 200);
vertex(600, 0);
vertex(600, 600);
//vertex(400, 200);
//vertex(200, 400);
endShape();
//stroke (5);
for (int a=0; a<800; a=a+20){
for (int b=0; b<630; b=b+20){
noStroke();
ellipse ( a, b, 40,40);
smooth();
fill (random (15,170), random (10,160), random (25,30), 90);
}
}
fill( 70,150,90,90);
for (int x=30; x<750; x=x+10){
for(int y=30; y<600; y=y+100){
//rect (x,y,55,55);
}
}
for(int x=50; x<550; x=x+75){
for(int y=50; y<550; y=y+75){
fill( random(170,150), random(190,60), random(30,155), (145));
rect (x,y,55,55);
for (int i = 0; i < 100; i++) {
float r = random(50);
stroke(r*5);
}
}
}
for(int x=45; x<550; x=x+75){
for(int y=45; y<550; y=y+75){
fill( random(70,150), random(90,60), random(30,155), 60);
rotate(PI/3.0);
rect (x,y,55,55);
for (int i = 0; i < 100; i++) {
float r = random(50);
stroke(r*5);
}
}
}
//endRecord();