Inspired by Karin Von Ompteda and a burgeoning interest in Ben Fry’s Processing, I set out to make a little sketch that overlaid letters in varying typefaces. The effect is quite interesting, and in my opinion really pretty to look at.

Here’s the code:

// My Karin von Ompteda shout-out.

PFont f;
int fontSize = 600;
int vHue = 0;
int vSaturation = 100;
int vBrightness = 75;
boolean vAlias = false;
String[] fonts = PFont.list();
char[] charSet = {'H'};
int vOpacity = 5;

void setup() {
  size(650, 650);
  background(255);
  textAlign(CENTER);

  // default range settings
  colorMode(HSB, 360, 100, 100, 100);

  for (int i=0;i<50;i++) {
    // random font selection
    // f = createFont(fonts[(int) random(0, fonts.length)], fontSize, vAlias, charSet);
    // fixed font selection
    f = createFont(fonts[i], fontSize, vAlias, charSet);

    textFont(f);

    // random color selection
    fill((int) random(0, 360), vSaturation, vBrightness, vOpacity);
    // fixed color selection
    // fill(vHue, vSaturation, vBrightness, vOpacity);

    text("H", (width / 2), ((height / 2) + (fontSize / 3)));
  }

  save("/Users/user/Desktop/out.tiff");
}

The render

F0N7S