const WIDTH = 800;
const HEIGHT = 600;

const SPACING = 25;

const RECT_SIZE_X = 15;
const RECT_SIZE_Y = 15;

var setup = function() {
  createCanvas(WIDTH, HEIGHT);
  background(0);

  angleMode(DEGREES);

  stroke(255);
  fill(255);
  strokeWeight(1);
  strokeCap(SQUARE);

  noLoop();
}

var drawRectangle = (posX, posY, angle) => {
  push();
  translate(posX, posY);
  rotate(angle);
  rect(-(RECT_SIZE_X/2), -(RECT_SIZE_Y/2), RECT_SIZE_X, RECT_SIZE_Y);
  pop();
}

var draw = function() {
  for (let x = 1; x <= 10; x++) {
    for (let y = 1; y <= 10; y++) {
      drawRectangle(x * 50, y * 50, Math.random() * 360);
    }
  }
}

@@ -50,17 +50,17 @@
 CING = 2
-5
+0
 ;%0A%0Aconst
@@ -74,17 +74,16 @@
 IZE_X = 
-1
 5;%0Aconst
@@ -97,17 +97,16 @@
 IZE_Y = 
-1
 5;%0A%0Avar 
@@ -508,17 +508,17 @@
 1; x %3C= 
-1
+2
 0; x++) 
@@ -544,17 +544,17 @@
 1; y %3C= 
-1
+2
 0; y++) 
@@ -583,18 +583,28 @@
 x * 
-50, y * 50
+SPACING, y * SPACING
 , Ma

Change sizing