function setup() {
  // use full screen size
  createCanvas(displayWidth, displayHeight);
  background(255);
  cursor(CROSS);

  x = mouseX;
  y = mouseY;

  textFont(font);
  textAlign(LEFT);
  fill(0);
}
draw tool. shows how to draw with dynamic elements.

MOUSE
drag                : draw with text

KEYS
del, backspace      : clear screen
arrow up            : angle distortion +
arrow down          : angle distortion -
s                   : save png