Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- background(255,255,255);
- size(1250,1250);
- rectMode (CENTER);
- noFill();
- for (int baseSquareSize = 250; baseSquareSize > 0; baseSquareSize -= 8){
- for(int x = 0; x < 1250; x = x + 250){
- for(int y = 0; y < 1250; y = y + 250){
- stroke (random(200,255), (random(255)), random(255));
- strokeWeight(random(0.3,5));
- //rotate(random(radians(20)));
- //squareSize = 250 * random(0.75,1.25);
- pushMatrix();
- translate(x,y);
- rotate(random(-PI/2,PI/2));
- rect(0, 0, 250, 250);
- popMatrix();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement