Text this: Elements of psychophysical theory