|
size(300,300);
//goban
fill(255,255,255);
rect(0,0,50*1,50*1);
fill(255,255,255);
rect(50,0,50*1,50*1);
fill(255,255,255);
rect(100,0,50*1,50*1);
fill(255,255,255);
rect(150,0,50*1,50*1);
fill(134,160,255);
rect(200,0,50*1,50*1);
fill(134,160,255);
rect(250,0,50*1,50*1);
fill(255,255,255);
rect(50*0,50*1,50*1,50*1);
fill(255,255,255);
rect(50*1,50*1,50*1,50*1);
fill(134,160,255);
rect(50*2,50*1,50*1,50*1);
fill(255,255,255);
rect(50*3,50*1,50*1,50*1);
fill(255,255,255);
rect(50*4,50*1,50*1,50*1);
fill(255,255,255);
rect(50*5,50*1,50*1,50*1);
fill(255,255,255);
rect(50*0,50*2,50*1,50*1);
fill(255,255,255);
rect(50*1,50*2,50*1,50*1);
fill(255,255,255);
rect(50*2,50*2,50*1,50*1);
fill(255,255,255);
rect(50*3,50*2,50*1,50*1);
fill(134,160,255);
rect(50*4,50*2,50*1,50*1);
fill(134,160,255);
rect(50*5,50*2,50*1,50*1);
fill(134,160,255);
rect(50*0,50*3,50*1,50*1);
fill(255,255,255);
rect(50*1,50*3,50*1,50*1);
fill(255,255,255);
rect(50*2,50*3,50*1,50*1);
fill(255,255,255);
rect(50*3,50*3,50*1,50*1);
fill(255,255,255);
rect(50*4,50*3,50*1,50*1);
fill(255,255,255);
rect(50*5,50*3,50*1,50*1);
fill(255,255,255);
rect(50*0,50*4,50*1,50*1);
fill(255,255,255);
rect(50*1,50*4,50*1,50*1);
fill(255,255,255);
rect(50*2,50*4,50*1,50*1);
fill(134,160,255);
rect(50*3,50*4,50*1,50*1);
fill(255,255,255);
rect(50*4,50*4,50*1,50*1);
fill(255,255,255);
rect(50*5,50*4,50*1,50*1);
fill(134,160,255);
rect(50*0,50*5,50*1,50*1);
fill(255,255,255);
rect(50*1,50*5,50*1,50*1);
fill(255,255,255);
rect(50*2,50*5,50*1,50*1);
fill(255,255,255);
rect(50*3,50*5,50*1,50*1);
fill(134,160,255);
rect(50*4,50*5,50*1,50*1);
fill(255,255,255);
rect(50*5,50*5,50*1,50*1);
strokeWeight(5);
stroke(180,220,255);
line(0,10,310,300);
strokeWeight(5);
stroke(200,240,255);
line(0,0,300,300);
strokeWeight(1);
stroke(200,210,195);
rect(53,53,194,194);
stroke(200,210,205);
rect(54,54,192,192);
stroke(200,210,215);
rect(55,55,190,190);
stroke(200,210,225);
rect(56,56,188,188);
stroke(200,210,235);
rect(57,57,186,186);
stroke(200,210,245);
rect(58,58,184,184);
stroke(200,210,255);
rect(59,59,182,182);
stroke(200,210,255);
rect(60,60,180,180);
stroke(205,210,255);
rect(61,61,178,178);
stroke(210,215,255);
rect(62,62,176,176);
stroke(215,220,255);
rect(63,63,174,174);
stroke(220,215,255);
rect(64,64,172,172);
stroke(225,220,255);
rect(65,65,170,170);
stroke(230,225,255);
rect(66,66,168,168);
stroke(235,230,255);
rect(67,67,166,166);
stroke(240,235,255);
rect(68,68,164,164);
stroke(245,240,255);
rect(69,69,162,162);
stroke(250,240,255);
rect(70,70,160,160);
stroke(255,250,255);
rect(71,71,158,158);
stroke(255,250,250);
fill(200,200,255);
ellipse(100,100,100,100);
ellipseMode(CENTER_DIAMETER);
fill(160,210,255);
ellipse(150,100,40,100);
ellipse(200,150,100,40);
ellipse(150,200,40,100);
ellipse(100,150,100,40);
//up_right
fill(237,255,5);
stroke(237,255,5);
ellipse(290,10,10,10);
ellipse(290,30,10,10);
ellipse(290,50,10,10);
ellipse(290,70,10,10);
ellipse(290,90,10,10);
ellipse(270,10,10,10);
ellipse(270,30,10,10);
ellipse(270,50,10,10);
ellipse(270,70,10,10);
ellipse(270,90,10,10);
ellipse(250,10,10,10);
ellipse(250,30,10,10);
ellipse(250,50,10,10);
ellipse(250,70,10,10);
ellipse(250,90,10,10);
ellipse(230,10,10,10);
ellipse(230,30,10,10);
ellipse(230,50,10,10);
ellipse(230,70,10,10);
ellipse(230,90,10,10);
//down_left
ellipse(10,210,10,10);
ellipse(10,230,10,10);
ellipse(10,250,10,10);
ellipse(10,270,10,10);
ellipse(10,290,10,10);
ellipse(30,210,10,10);
ellipse(30,230,10,10);
ellipse(30,250,10,10);
ellipse(30,270,10,10);
ellipse(30,290,10,10);
ellipse(50,210,10,10);
ellipse(50,230,10,10);
ellipse(50,250,10,10);
ellipse(50,270,10,10);
ellipse(50,290,10,10);
ellipse(70,210,10,10);
ellipse(70,230,10,10);
ellipse(70,250,10,10);
ellipse(70,270,10,10);
ellipse(70,290,10,10);
fill(70,160,255);
triangle(0,100,30,150,0,200);
fill(70,160,255);
triangle(100,300,150,270,200,300);
fill(70,160,255);
triangle(300,100,270,150,300,200);
fill(70,160,255);
triangle(100,300-300,150,300-270,200,300-300);
strokeWeight(10);
stroke(255,210,0);
line(150,30,150,200);
strokeWeight(10);
stroke(255,210,0);
line(100,150,200,150);
|