Lakshay

· 1 min

Turning photographs into text

The butterfly in my text-picture experiments is a photograph. There is no image on the page at all, only letters.

From pixels to characters

The photo is shrunk until each pixel is about the size of one character. Then every pixel is asked one question: how dark are you? Darker pixels get heavier characters, @ and #, and lighter ones get : and ;. Pixels that are nearly white get nothing, so the paper shows through.

A few things make the difference between a muddy picture and a readable one:

Springs

Each character is its own little object with a resting place. A spring pulls it home, the pointer pushes it away, and friction settles it again. Hold the pointer down and they scramble between characters of the same weight.

Once in a while one lets go and falls like a petal.

That's all of it. The rest is choosing a good photograph.