xxxxxxxxxx
//import processing.pdf.*;
size (600, 300);
//beginRecord (PDF, "b_w.pdf");
background (0);
noStroke();
fill(0);
rect (0, 0, 300, 300);
fill(255);
rect (300, 0, 300, 300);
pushMatrix();
translate(150, 150);
noStroke();
fill(255, 150);
for (int k=0;k<23; k++) {
triangle(0, 0, 50, 20, 100, 23-k);
rotate(-PI/12);
}
popMatrix();
pushMatrix();
translate (450, 150);
noStroke();
fill (0, 150);
for (int q=0; q<23; q++){
triangle (0, 0, 50, 20, 100, 23-q);
rotate (-PI/12);
}
popMatrix();
//endRecord();