« NIME Progress Report #7 | Main | A2Z: Thesis Buzzkiller »

A2Z: Nabokov's Synaesthesia (week 1)

I took the opportunity this week to implement an idea that has been bouncing around in my head for a while: a program that colors text according to Vladimir Nabokov's synaesthesia. Nabokov claimed to see the shape of letters as colors; my program takes a plain text document and outputs an HTML fragment in which each character is colored according to Nabokov's reported impression. Here's some sample output (taken from the opening paragraphs of Lolita):

Lolita, light of my life, fire of my loins. My sin, my soul. Lo-lee-ta: the tip of the tongue taking a trip of three steps down the palate to tap, at three, on the teeth. Lo. Lee. Ta.

She was Lo, plain Lo, in the morning, standing four feet ten in one sock. She was Lola in slacks. She was Dolly at school. She was Dolores on the dotted line. But in my arms she was always Lolita.

Did she have a precursor? She did, indeed she did. In point of fact, there might have been no Lolita at all had I not loved, one summer, a certain initial girl-child. In a princedom by the sea. Oh when? About as many years before Lolita was born as my age was that summer. You can always count on a murderer for a fancy prose style.

I made an online version of the program, accessible here. The program is written in Python; here's the source code for the command-line version.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)