Dispersion is the basis for the prism and its ability to spatially
separate light according to wavelength, as illustrated in the following
animation.
![]() |
Light separated into its freqency (and therefore energy or wavelength) components is called a spectrum of light. Here are Java applets illustrating the dispersion of visible light by a triangular prism and by a rectangular glass slab.