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

Lab 1 : Song from Lab 0 (reize +)



void setup(){
size(500,500);
background(#FCECB5);

int w=30;
int h=30;
int b=15;

fill(#D36A06);                                                              //l door
stroke(#D36A06);
rect(135,300,15+w,250+h);

fill(#D36A06);                                                              //r door
stroke(#D36A06);
rect(350,300,15+w,250+h);

fill(#D36A06);                                                               //on door
stroke(#D36A06);
rect(135,285,230+w,15+h);

fill(0);                                                                             //in door
stroke(0);
rect(150,300,200+w,250+h);

fill(#FF0B03);                                                                 //open
stroke(#FF0B03);
ellipse(180,450,20+w,20+h);

/////word on door WELCOME////

fill(#E9FF03);
textSize(20+b);
text("W",180,360);

fill(#03F9FF);
textSize(20+b);
text("E",200,360);

fill(#05FF03);
textSize(20+b);
text("L",220,360);

fill(#FF9F03);
textSize(20+b);
text("C",240,360);

fill(#AC6BF7);
textSize(20+b);
text("O",260,360);

fill(#6BF7CA);
textSize(20+b);
text("M",280,360);

fill(#FF0000);
textSize(20+b);
text("E",300,360);

/////name of song/////

fill(#0D08A5);
textSize(80+b);
text("Pra",50,140);

fill(#08A50E);
textSize(80+b);
text("Tu",200,140);

fill(#BC0606);
textSize(80+b);
text("Jai",350,140);

/////name of singer/////

fill(#AC39F5);
textSize(40+b);
text("Sao Sao Sao",120,210);

}

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

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