แสดงบทความที่มีป้ายกำกับ Lab0 แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ Lab0 แสดงบทความทั้งหมด

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

Lab0-SPYAIR

void setup(){
  size(400,400);
  background(0);
  strokeWeight(12);
  stroke(#FFFFFF);
  noFill();

  /////Logo/////
  ellipse(200,130,220,220);
  line(95,100,260,40);
  line(205,65,280,200);
  line(205,65,180,235);
  line(95,100,260,165);
  line(130,210,260,165);

  ///// "SPYAIR" /////
  textAlign(CENTER);
  textSize(100);
  text("SPYAIR",200,350);
}

Lab0-Gintama

void setup(){
  int space = 200;
  size(500,600);
  background(100);
  strokeWeight(5);

  /////Book/////
  rect(50,50,400,500);

  /////Eye/////
  ellipse(150,200,100,100); //Left
  ellipse(150+space,200,100,100); //Right

  /////In Eye/////
  fill(0);
  ellipse(150,200,50,50); //Left
  ellipse(150+space,200,50,50); //Right

  /////Eyelashes/////
  line(110,140,120,160); //Left1
  line(150,130,150,150); //Left2
  line(190,140,180,160); //left3
  line(110+space,140,120+space,160); //Right1
  line(150+space,130,150+space,150); //Right2
  line(190+space,140,180+space,160); //Right3

  /////Mouth/////
  fill(#FFFF00);
  ellipse(250,320,250,80);
  line(140,320,160+space,320);

  ///// "ELIZABETH" /////
  fill(0);
  textAlign(CENTER);
  textSize(20);
  text("ELIZABETH",250,80);

  ///// "GINTAMA" /////
  fill(50);
  textAlign(CENTER);
  textSize(70);
  text("GINTAMA",250,500);
}

 

Lab0-Jurassic Brown

void setup(){
  size(600,400);
  background(0);

  /////Background Logo/////
  noStroke();
  fill(#FFFF00);
  ellipse(300,200,350,350);
  rect(50,200,500,120);

  /////Red Circle/////
  stroke(0);
  strokeWeight(5);
  fill(#FF0000);
  ellipse(300,200,320,320);

  /////Ear/////
  strokeWeight(3);
  fill(#4E3028);
  arc(250,130,50,60,HALF_PI+QUARTER_PI,PI+PI,OPEN); //Left
  arc(350,130,50,60,-PI,QUARTER_PI,OPEN); //Right

  /////InEar/////
  noStroke();
  fill(#281914);
  arc(250,130,30,45,HALF_PI+QUARTER_PI,PI+PI,OPEN); //Left
  arc(350,130,30,45,-PI,QUARTER_PI,OPEN); //Right

  /////Head/////
  stroke(0);
  strokeWeight(3);
  fill(#4E3028);
  arc(300,210,200,200,PI,PI+PI);

  /////Face/////
  noStroke();
  fill(#FFFFCC);
  ellipse(300,200,50,70); //Nose Background
  fill(0);
  ellipse(290,160,10,10); //Left Eye
  ellipse(310,160,10,10); //Right Eye
  stroke(0);
  strokeWeight(3);
  triangle(300,185,295,175,305,175); //Nose
  ///Mouth///
  line(300,180,300,200);
  line(300,200,280,220);
  line(300,200,320,220);

  /////Black label/////
  fill(0);
  rect(60,210,480,100);

  ///// "JURASSIC BROWN" /////
  fill(#FFFF00);
  textSize(50);
  text("JURASSIC BROWN",75,280);
}