꿈길과제 |
|||||
---|---|---|---|---|---|
작성자 | 정의철 | 등록일 | 17.06.09 | 조회수 | 77 |
size(800,800); background(255); fill(140,121,128); rectMode(CORNERS); rect(330,170,370,290); fill(255,255,255); ellipseMode(CENTER); ellipse(350,110,150,150); fill(0,0,0); ellipseMode(CENTER); ellipse(300,110,50,100); fill(0,0,0); ellipseMode(CENTER); ellipse(400,110,50,100); line(300,320,330,290); line(370,290,400,320); ----------------------캐릭터---------------------------- size(500,500); background(255); fill(255,0,255); ellipseMode(CENTER); ellipse(250,250,300,300); fill(0,0,250); ellipseMode(CENTER); ellipse(250,230,275,90); fill(0,100,0); ellipseMode(CENTER); ellipse(200,230,50,50); fill(0,100,0); ellipseMode(CENTER); ellipse(300,230,50,50); _______________________________________________________________ void setup() {size(700,700);} void draw(){ background(0); ellipseMode(CENTER); ellipse(mouseX, mouseY,200,230); background(255); line(100,100,200,200); line(100,100,300,300); line(100,100,200,350); line(100,100,200,350); line(400,100,200,350); fill(255,0,255); ellipseMode(CENTER); ellipse(250,250,300,300); fill(0,0,250); ellipseMode(CENTER); ellipse(250,230,275,90); fill(255,216,216); ellipseMode(CENTER); ellipse(200,230,50,50); fill(255,216,216); ellipseMode(CENTER); ellipse(300,230,50,50); } |
이전글 | 캐릭터 |
---|---|
다음글 | 과제 |