Processing
程式碼:
size(385,587);
background(255);
smooth();noStroke();fill(0);ellipse(180,0,370,220);
smooth();noStroke();fill(120);ellipse(149,50,50,50);
smooth();noStroke();fill(120);ellipse(62,100,100,100);
smooth();noStroke();fill(120);ellipse(74,197,30,33);
smooth();noStroke();fill(120);ellipse(239,208,150,170);
smooth();noStroke();fill(120);ellipse(399,255,150,170);
smooth();noStroke();fill(120);ellipse(50,358,160,160);
smooth();noStroke();fill(120);ellipse(277,364,30,30);
smooth();noStroke();fill(120);ellipse(200,450,40,35);
smooth();noStroke();fill(120);ellipse(134,521,120,70);
smooth();noStroke();fill(0);ellipse(10,362,100,100);
smooth();noStroke();fill(0);ellipse(207,363,35,90);
smooth();noStroke();fill(0);ellipse(295,481,120,80);
smooth();noStroke();fill(200);ellipse(316,248,100,115);
smooth();noStroke();fill(200);ellipse(16,567,115,100);
smooth();noStroke();fill(120);ellipse(27,361,15,15);
第一次接觸Processing這個軟體,
照著程式碼打,竟然也能畫出圖片。
找到的這個圖片全是以圓形、橢圓組成,
有些圓疊在一起,所以要有圖層的概念。

沒有留言:
張貼留言