카테고리

Tag Cloud

글 목록

[Processing Ref.] – cirlce




점점 커지는 원
/ 작업일 : 2016년 2월 9일

/메모:변수
/——————————————————————————–
int circleX=100;
int circleY=100;
int circleW=100;
int circleH=100;
int change=200;
int change2=1;

void setup() {
size(400, 400);
background(255);
}

void draw() {
noStroke();
fill(#C4DAED);
ellipse(circleX, circleY, circleW+change2, circleH+change2);
ellipse(circleX+change, circleY, circleW+change2, circleH+change2);
ellipse(circleX, circleY+change, circleW+change2, circleH+change2);
ellipse(circleX+change, circleY+change, circleW+change2, circleH+change2);
change2 = change2+1;
}

—————————————————

Share Post :

More Posts