Facebook
From Marta, 1 Week ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 74
  1. size (600,800);
  2. background (151,152,107);
  3. strokeWeight (0);
  4. fill (204,255,255);
  5. rect (0,0,600,300);
  6. fill (200);
  7. triangle(120, 300, 210, 80, 300, 300);
  8. triangle(220, 300, 300, 80, 400, 300);
  9. triangle(320, 300, 500, 80, 600, 300);
  10. triangle(10, 300, 100, 80, 300, 300);
  11.  
  12. //tent
  13. fill(255,204,100);
  14. strokeWeight(2);
  15. quad(100,400,200,500,500,500,400,400);
  16. triangle (20,500,100,400,200,500);
  17.  
  18. //sun
  19. strokeWeight(0);
  20. fill(250,200,0);
  21. ellipse (400,80,100,100);
  22.  
  23.  
  24. //bush
  25. strokeWeight(0);
  26. int bush_size = 100;
  27. fill(99,110,77);
  28. ellipse(400, 515, bush_size, bush_size);
  29. ellipse(480, 540, bush_size, bush_size);
  30. ellipse(440, 550, bush_size, bush_size);
  31. ellipse(500, 560, bush_size+10, bush_size+10);
  32. ellipse(350, 530, bush_size+20, bush_size+20);
  33. ellipse(400, 570, bush_size+20, bush_size+20);
  34.  
  35. //lake
  36. fill(101,136,169);
  37. ellipse(180,600,300,100);
  38.  
  39. save("assignment_1.png");