function setup() {
  createCanvas(620, windowHeight);

  textFont('monospace', 18);
  fill(87, 35, 129);

  joinedText = joinedText.join(' ');
  alphabet = getUniqCharacters();
  for (var i = 0; i < alphabet.length; i++) {
    drawLetters[i] = true;
  }
}
analysing and sorting the letters of a text
connecting subsequent letters with lines

MOUSE
position x          : interpolate between normal text and sorted position

KEYS
1                   : toggle lines on/off
2                   : toggle text on/off
3                   : switch all letters off
4                   : switch all letters on
a-z                 : switch letter on/off
CONTROL             : save png