Klein found a rational function of one complex variable that is invariant under the icosahedron's symmetries. This function ℑ: ℂP1 → ℂP1 equals 0 at the centers of the icosahedron's faces, 1 on the midpoints of its edges, and ∞ at its vertices:
The color shows its phase. The contour lines show its magnitude.