White Polka Dots

Rupert Russell

Ballarat, Australia

  • Available
    Products
    55
  • Artist
    Notes

Apparel

Cases & Skins

Wall Art

Home Decor

Accessories

Stationery

Artist's Description

// Inspired by https://www.dreamstime.com/stock-images-rainbow...
int dotSize = 200;
int dotSpace = 20;

void setup () {
size(13500, 11462);
background(0);
smooth();
}

void draw () {
noLoop();
fill(255);
for (int y = 1; y < height / (dotSpace + dotSize) ; y++) {
for (int x = 1; x < width / (dotSpace + dotSize) ; x ++) {

ellipse((x * dotSize) + (x * dotSpace) , height – ( dotSize * y) – ( y * dotSpace), dotSize, dotSize);
println("x = " + x);
}
println("y = " + y);
}
println(“saving”);
save(“dots.png”);
println(“saved”);
exit();
}

desktop tablet-landscape content-width tablet-portrait workstream-4-across phone-landscape phone-portrait
desktop tablet-landscape content-width tablet-portrait workstream-4-across phone-landscape phone-portrait