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

  actStrokeCap = ROUND;
  colorLeft = color(197, 0, 123, alphaLeft);
  colorRight = color(87, 35, 129, alphaRight);
}
changing strokeweight on diagonals in a grid with colors

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

KEYS
s                   : save png
1                   : round strokecap
2                   : square strokecap
3                   : project strokecap
4                   : color left diagonal
5                   : color right diagonal
6                   : transparency left diagonal
7                   : transparency right diagonal
0                   : default