|
size(300,300);
fill(0,255,0);
stroke(255,0,0);
rect(50,50,200,200);
stroke(0,0,0);
line(150,50,250,150);
line(250,150,150,250);
line(150,250,50,150);
line(50,150,150,50);
fill(255,255,0);
stroke(0,255,0);
rect(100,100,100,100);
line(150,100,200,150);
line(200,150,150,200);
line(150,200,100,150);
line(100,150,150,100);
fill(0,255,255);
stroke(0,0,255);
rect(125,125,50,50);
point(150,150);
|