Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. package raupe;
  2. import processing.core.PApplet;
  3. /**
  4. *
  5. * @author BÄRLEIN
  6. */
  7. public class Raupe extends PApplet{
  8.  
  9. /**
  10. * @param args the command line arguments
  11. */
  12. public static void main(String[] args) {
  13. PApplet.main("raupe.Raupe");
  14. }
  15. @Override
  16. public void settings(){
  17. size(1000, 600);
  18. }
  19.  
  20. @Override
  21. public void setup(){
  22. background(color(0,255,0));
  23. }
  24.  
  25. @Override
  26. public void draw(){;
  27. fill(color(70, 196, 63, 30));
  28. ellipse(130, 95, 100, 100);
  29. fill(color(70, 196, 63, 30));
  30. ellipse(180, 180, 100, 100);
  31. fill(color(70, 196, 63, 30));
  32. ellipse(278, 210, 100, 100);
  33. fill(color(70, 196, 63, 30));
  34. ellipse(372, 180, 100, 100);
  35. fill(color(70, 196, 63, 30));
  36. ellipse(466, 210, 100, 100);
  37. fill(color(70, 196, 63, 30));
  38. ellipse(560, 180, 100, 100);
  39. fill(color(255, 255, 255, 30));
  40. ellipse(80, 70, 30, 30);
  41. fill(color(255, 255, 255, 30));
  42. ellipse(105, 70, 30, 30);
  43. fill(color(0, 0, 0, 30));
  44. ellipse(80, 70, 10, 10);
  45. fill(color(0, 0, 0, 30));
  46. ellipse(105, 70, 10, 10);
  47.  
  48. }
  49. }
  50.  
  51.  
  52. Des is de Raupe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement