summaryrefslogtreecommitdiff
path: root/Year_2/IandM/opacity_rect/opacity_rect.pde
blob: 5e78c10a8eab6eb6d06e0514ac659c68afded92e (plain)
1
2
3
4
5
6
7
8
9
10
background(0);
size(500, 500);

noStroke();
int k = 50;

for(int i = k; i < width-(k*4); i+=20) {
  fill(255, 255, 255, 100);
  rect(i, i, k*3, k*3);
}