2009年9月28日 星期一

HW01 Geometric Painting

原圖

小畫家
Processing

Code
size(600, 600);
background(255, 0, 0);
smooth();
noStroke();
fill(255, 255, 0);
rect(0, 0, 100, 500);
fill(0);
rect(100, 500, 500, 100);
fill(255, 255, 0);
triangle(0, 500, 100, 500, 0, 600);
fill(0, 255, 0);
triangle(100, 600, 100, 500, 0, 600);
fill(0, 255, 0);
rect(100, 500, 200, 100);
fill(0, 0, 255);
rect(500, 100, 100, 100);

心得:
這次作業對我來說非常簡單,因為我先做完第二個作業才回來做第一個所以相當得心應手。不過也還好我挑的圖不會太麻煩才可以很快的把它做完

沒有留言:

張貼留言