Advertisement
ericksqueiroz

SM - Trabalho VP1

Aug 19th, 2015
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. size (800, 600); //define as dimensões da janela
  2.  
  3. //Corpo
  4. strokeWeight(8);
  5. fill(#D6002D);
  6. ellipse(300,300,330,300); //CENTRO, LARGURA, ALTURA
  7.  
  8. //Manchas do corpo
  9. stroke(#A80023);
  10. fill(#A80023);
  11. ellipse(300,315,70,80);
  12. ellipse(385,315,70,80);
  13. ellipse(235,330,25,60);
  14. ellipse(190,350,25,35);
  15.  
  16. //Olhos
  17. strokeWeight(4);
  18. stroke(#000000);
  19. fill(#DCDCDC);
  20. ellipse(315,300,70,70); //Olho esquerdo
  21. ellipse(380,300,60,60); //Olho direito
  22. fill(#ffffff);
  23. stroke(#ffffff);
  24. ellipse(315,298,62,48); //detalhe olho esquerdo
  25. ellipse(378,296,52,45); //detalhe olho direito
  26. stroke(#000000);
  27. fill(#000000);
  28. ellipse(325,300,20,20); //Pupila do olho esquerdo
  29. ellipse(372,301,16,16); //Pupila do olho direito
  30. noFill();
  31. ellipse(315,300,70,70); //Contorno olho esquerdo
  32. ellipse(380,300,60,60); //Contorno olho direito
  33.  
  34. //Sobrancelhas
  35. fill(#000000);
  36. strokeWeight(3);
  37. quad(260,235,350,270,350,290,250,265); //p1, p2, p3, p4
  38. quad(350,270,445,230,460,260,350,290);
  39.  
  40. //Barriga
  41. fill(#E2C4A8);
  42. stroke(#E2C4A8);
  43. arc(300,457,190,190,PI/2+1.9,PI+2.80);
  44.  
  45. //Bico
  46. stroke(#000000);
  47. strokeWeight(3);
  48. fill(#FBBA1E);
  49. triangle(350,310,430,360,300,350); //p1, p2, p3
  50. fill(#F59C1E);
  51. triangle(350,390,400,360,300,350);
  52.  
  53. //Contorno do corpo
  54. strokeWeight(8);
  55. noFill();
  56. ellipse(300,300,330,300);
  57.  
  58. //Cauda
  59. strokeWeight(3);
  60. fill(#000000);
  61. quad(110,255,130,285,130,300,90,270);
  62. quad(73,275,130,303,135,315,63,305);
  63. quad(90,328,135,315,135,325,100,348);
  64.  
  65. //Cabelo
  66. strokeWeight(5);
  67. fill(#D6002D);
  68. bezier(260, 160, 110, 200, 130, 70, 320, 153);
  69. bezier(300, 155, 100, 80, 350, 25, 345, 160);
  70.  
  71. line(0,453,800,453);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement