วันเสาร์ที่ 15 สิงหาคม พ.ศ. 2558

Lab0 : Book

void setup(){
  size (340,440);
  background(#26860C);
  println("Keroro");
  print("Gunso");
  //book
  strokeWeight(3);
  fill(#1ED36E);
  rect(20,20,300,400);
  //face
  fill(255);
  rect(20,20,300,300);

  //yellow cap
  fill(#F5FF6A);
  rect(20,20,300,50);
  //star
  fill(#F50529);
  noStroke();
  quad(170,20,190,60,170,50,150,60);
  triangle(140,35,200,35,170,50);

  //green face
  stroke(0);
  strokeWeight(3);
  fill(#33AF47);
  rect(20,70,300,185);
  //mouth1
  fill(255);
  arc(170,310,420,150,QUARTER_PI+PI,2*PI-QUARTER_PI);
  //mouth2
  fill(#FA7474);
  arc(170,235,70,50,0,PI);
  //eye
  fill(255);
  ellipse(90,160,100,100);
  fill(0);
  ellipse(90,160,50,50);
   fill(255);
  ellipse(250,160,100,100);
  fill(0);
  ellipse(250,160,50,50);

  //TEXT
  textSize(30);
  text("KERORO",115,400);
}

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

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

commit เพิ่มเติม : เพื่ม userstory, bookmark

>>  add userstory ทำการเพิ่ม userstory ใน functional tests >>  add bookmark for user เพิ่มระบบ Bookmark โดยการสร้าง model ขึ...