31 ตุลาคม 2556

Racket -- snoopy


/////// ไม้เทนนิส ของ snoopy //////

void racketBack_down_mid(float x, float y) { //back mi &down
  stroke(0);
  fill(255);
  strokeWeight(2);
  ellipse(x+100, y+5, 25, 45);
  //row
  strokeWeight(1);
  line(x+89, y-10, x+110, y-5);
  line(x+87, y, x+110, y+7);
  line(x+86, y+12, x+108, y+18);
  //co
  line(x+95, y-15, x+87, y+20);
  line(x+103, y-15, x+95, y+26);
  line(x+110, y-10, x+104, y+26);
  strokeWeight(6);
  line(x+86, y+20, x+73, y+35);
  fill(255);
  strokeWeight(1);
  ellipse(x+65, y+35, 15, 10);
}
void racketBack_on(float x, float y) { //back up
  stroke(0);
  fill(255);
  strokeWeight(2);
  ellipse(x+100, y+60, 25, 45);
  strokeWeight(1);
  //
  line(x+87, y+55, x+110, y+45);
  line(x+88, y+65, x+112, y+55);
  line(x+93, y+75, x+110, y+68);
  //
  line(x+95, y+40, x+90, y+75);
  line(x+102, y+40, x+98, y+80);
  line(x+110, y+45, x+107, y+75);
  strokeWeight(6);
  line(x+86, y+50, x+67, y+35);
  strokeWeight(1);
  fill(255);
  ellipse(x+65, y+35, 15, 10);
}

void racketFont(float x, float y) { // font
  stroke(0);
  fill(0);
  ellipse(x, y-10, 10, 46);
  strokeWeight(3);
  line(x, y-15, x, y+30);
  fill(255);
  noStroke();
  quad(x, y+33, x, y+28, x+35, y+37, x+35, y+43);
  stroke(0);
  strokeWeight(1);
  ellipse(x, y+30, 20, 15);
}

void racket_Fontdown(float x, float y) { // font non
  fill(255);
  stroke(0);
  strokeWeight(2);
  ellipse(x-20, y+60, 45, 25);
  strokeWeight(1);
  //
  line(x-40, y+55, x-23, y+70);
  line(x-30, y+50, x-10, y+69);
  line(x-20, y+48, x, y+65);
  //
  line(x-45, y+60, x-20, y+50);
  line(x-40, y+65, x, y+52);
  line(x-35, y+70, x, y+60);
  strokeWeight(6);
  line(x+30, y+43, x, y+50);
  fill(255);
  strokeWeight(1);
  ellipse(x+25, y+43, 15, 10);
}

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

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