Advertisement
Gauge1417

random squares

Oct 15th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. /* Gauge Smithee
  2. Random Squares Investigation
  3. */
  4.  
  5.  
  6. int x = 0;
  7. int y = 0;
  8.  
  9. // Background White
  10. size(500,500);
  11. background(255);
  12.  
  13. while(y < height) {
  14. fill(random(255),random(255),random(255));
  15. ellipse(x,y,30,30);
  16. y = y + 30;
  17. x = x + 30;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement