function setup() {
  createCanvas(windowWidth, windowHeight);
  colorMode(HSB, 360, 100, 100, 100);
  noStroke();

  posX = width / 2;
  posY = height / 2;
}
draw the path of a stupid agent

MOUSE
position x          : drawing speed

KEYS
1-3                 : draw mode of the agent
DEL/BACKSPACE       : clear display
s                   : save png