function setup() {
  createCanvas(600, 600);

  actStrokeCap = ROUND;
}
changing strokeweight and strokecaps on diagonals in a grid

MOUSE
position x          : left diagonal strokeweight
position y          : right diagonal strokeweight
left click          : new random layout

KEYS
1                   : round strokecap
2                   : square strokecap
3                   : project strokecap
s                   : save png