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

Lab1-ultranma



void setup(){
int posy=50;
  size(550,700);
  fill(#D8BABA);
  rect(0, 0, 549, 699);
  fill(#FFFFFF);
  rect(0, 0, 55, 699);
  textSize(40);
      fill(#000000);
     text("1",15,50);
      textSize(20);
      text("45B",8,660);
  fill(#FF9966);
  rect(60, 5, 485, 450);

  fill(#000000);
  strokeWeight(4);

  ellipse(300, posy+250, 240, 250);//face back
  fill(#FFFFFF);
  rect(165, posy+251, 30, 40);//left ear
  rect(405, posy+251, 30, 40);//right ear
  ellipse(300, posy+254, 238, 245);
  fill(#FDFF40);//face front
     ellipse(360, posy+245, 70, 80);//right eye
     ellipse(240, posy+245, 70, 80);//left eye
  strokeWeight(2);
  fill(#000000);
   triangle(300, posy+275, 285, 100, 315, 100);  //crest
  textSize(70);
      fill(#000000);
     text("The",100,530);
      textSize(60);
     text("Ultraman",250,530);
      textSize(40);
     text("Original",380,580);
 
  println("My faverite book is ");
  print ("ultranma");

}

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

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