꿈길 과제 |
|||||
---|---|---|---|---|---|
작성자 | 김민희 | 등록일 | 17.07.14 | 조회수 | 63 |
움직이기 void setup() { size(700,700); } void draw() { background(255);
fill(255,200,200); ellipse(mouseX+50,mouseY-80,20,80); fill(255,200,200); ellipse(mouseX-50,mouseY-80,20,80);
fill(255,200,200); rect(mouseX-50,mouseY+30,100,150);
fill(255,255,255); ellipse(mouseX+2,mouseY+100,80,80);
fill(255,200,200); ellipse(mouseX,mouseY,150,150);
fill(255,200,200); ellipse(mouseX-45,mouseY+60,24,24); fill(255,200,200); ellipse(mouseX+45,mouseY+60,24,24);
fill(255,200,200); ellipse(mouseX-30,mouseY+180,30,30); fill(255,200,200); ellipse(mouseX+30,mouseY+180,30,30);
ellipse(mouseX-40,mouseY-20,15,15); fill(0); ellipse(mouseX+40,mouseY-20,15,15);
ellipse(mouseX+2,mouseY+10,30,13); } |
이전글 | 꿈길과제- 캐릭터 움직이기 |
---|---|
다음글 | 꿈길과제 캐릭터 움직이기 |