Outlines of a theory of the light sense