summaryrefslogtreecommitdiff
path: root/Year_2/IandM/purple_circles/purple_circles.pde
blob: a89258153b8a16d7e6c0997f3096c6aabea63759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
size(1000, 400);
background(255);
fill(255);

stroke(255, 0, 255);
strokeWeight(7);

ellipseMode(CORNER);

for (int i = 70, s = 100; i < width-50 && s > 0; i+=150, s-=15) {
  ellipse(i, height/2-(s/2), s, s);
}