This script calculates the interference colours, which appear upon reflection at substrates coated with
a thin, transparent, and dielectric film.
The colours can be plotted against the film thickness or the angle of incidence. Because of the limited colour space of the display, some of the calculated colours cannot be displayed correctly. In this case the colour will be mixed with white and discoloured until it reaches the edge of the sRGB colour space.
Consideration of dispersion is provided by two different sets of formulas for cauchy layers (λ, γ in nm):