A graphics program for non-Euclidean geometry