2014年9月15日 星期一

Week01


void setup()
{
size(600,400);
background(0,0,0);
}

void draw()
{
strokeWeight(1);

stroke(15,15,15);
fill(0,0,0);
ellipse(150,250,600,600);

stroke(30,30,30);
fill(0,0,0);
ellipse(150,250,440,440);

stroke(50,50,50);
fill(0,0,0);
ellipse(150,250,300,300);

stroke(65,65,65);
fill(0,0,0);
ellipse(150,250,180,180);

stroke(80,80,80);
fill(0,0,0);
ellipse(150,250,70,70);

stroke(50,140,100);
line(150,250,250,370);
line(150,250,400,385);//GREEN

stroke(255,240,0);
line(150,250,370,210);
line(150,250,250,285);//YELLOW

stroke(255,200,15);
line(150,250,550,50);
//line(150,250,250,285);
}

沒有留言:

張貼留言