function setup() {
  createCanvas(600, 600);
  colorMode(HSB, 360, 100, 100, 100);

  colorRight = color(0, 0, 0, alphaRight);
  colorLeft = color(323, 100, 77, alphaLeft);
}
changing number, color and strokeweight on diagonals in a grid

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

KEYS
s                   : save png
1                   : color left diagonal
2                   : color right diagonal
3                   : switch transparency left diagonal on/off
4                   : switch transparency right diagonal on/off
0                   : default