Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- color bg = #352238, f = #87334F;
- int step = 50;
- float diam = 20;
- void setup() {
- size(600, 800);
- background(bg);
- fill(f);
- noStroke();
- for (int y=step/2; y<height; y +=step) {
- for (int x=step/2; x< width; x += step) {
- ellipse(x, y, diam, diam);
- diam += 0.3;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement