Calculating and displaying the interference pattern of n coherent sources.