Monday, September 21, 2009
HW2 - Narsil - 96440702
size(800,600);background(255,100,80);noStroke();smooth();for (int y = 100; y<= 600; y += 200){for (int x = 100; x <= 800; x +=200) {fill(255,5,62);ellipse(x,y,200,200);fill(70,145,62);ellipse(x,y,100,100);fill(34,245,47);ellipse(x,y,50,50);}}
This work is more difficult than the first class that we do, but it also interesting. This time we wright the function code like c++ we learn before, so it is a big challenge for me, because I am not so good about the programming. The most difficult part is how to find the distance between each circle I think.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment