2008年4月14日 星期一

幾何圖形

















用小畫家做
程式:
size(800,600);
background(255,255,255);
fill(128,0,128);
rect(80,64,110,110);
fill(0,225,225);
ellipse(150,130,280,245);
fill(0,128,255);
rect(292,15,53,65);
fill(255,0,0);
rect(433,80,55,60);
fill(128,0,128);
rect(200,180,150,60);
fill(0,64,128);
rect(165,260,108,282);
fill(0,64,128);
rect(400,260,108,282);
fill(0,128,0);
rect(325,260,47,100);
fill(255,0,0);
rect(540,260,47,100);

沒有留言: