https://zonebahama.blogspot.com/2018/09/single-slit-diffraction-model-html5-by.html