SHARE
TWEET

Fat Human (Processing Code)

willprice94 Apr 11th, 2011 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Fat Human Processing code
  2. //Setup canvas
  3. size(400,400); //400x400
  4. background(230); //set canvas colour
  5.  
  6.  
  7. //Arms
  8. rectMode(CENTER); //set rectangles to be drawn from center co-ord
  9. rect(80,300,50,30);
  10. rect(320,300,50,30);
  11.  
  12. //Ears
  13. triangle(230,180,230,160,250,170);
  14. triangle(170,180,170,160,150,170);
  15. //Body
  16. ellipse(200,180,70,70); //head
  17. ellipse(200,300,200,200); //body
  18.  
  19. //Eyes
  20. fill(0); //setting colour (black)
  21. ellipse(180,165,5,5); //left eye
  22. fill(0);
  23. ellipse(220,165,5,5); //right eye
  24.  
  25. //Smile
  26. line (180,180,200,195);
  27. line(220,180,200,195);
  28.  
  29. //Feet
  30. fill(100); //Set feet colour
  31. rect(220,390,20,20); // right foot
  32. rect(180,390,20,20); //left foot
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top