วันอาทิตย์ที่ 23 สิงหาคม พ.ศ. 2558

lab1+

void setup(){
int X=0;
int Y=0;
int weight=200;
int height =200;
noStroke();
size(weight,height);
background(255);
fill(255,0,0);
//positive
rect(X+75,Y,weight-150,height);
rect(X,Y+75,weight,height-150);
}

ไม่มีความคิดเห็น:

แสดงความคิดเห็น