Dispersion in a prism due to refraction. Incident white light is converted into a rainbow, as reported by Newton in 1666, or as shown on Pink Floyd’s Dark Side of the Moon (1973).
For more related figures, please see the Optics category.
Edit and compile if you like:
% Author: Izaak Neutelings (June 2020)% Inspiration:% https://www.researchgate.net/figure/a-Refractive-index-and-b-dispersion-of-bulky-soft-glasses-NC21-LLF1-SF6-and-F2-As_fig1_236110630% https://link.springer.com/article/10.1007/s11082-014-9979-y\documentclass[border=3pt,tikz]{standalone}\usepackage{siunitx}\usetikzlibrary{calc}\usetikzlibrary{intersections}\usetikzlibrary{fadings}\tikzset{>=latex} % for LaTeX arrow head\colorlet{myblue}{blue!80!black}\colorlet{myred}{black!50!red}\colorlet{glasscol}{blue!10}\tikzstyle{glass}=[top color=glasscol!90!black,bottom color=glasscol!90!black,middle color=glasscol,shading angle=40]\begin{document}%% PRISM + REFRACTION%\begin{tikzpicture}% \def\N{6}% \def\L{2.8}% \def\na{1.0} % air% \def\angi{50}% \coordinate (O) at (0,0);% \coordinate (R) at (\L,0);% \coordinate (T) at (60:\L);% \coordinate (I) at (60:0.5*\L);%% % MEDIUM% \draw[line width=0.8,blue] (I)++(150+\angi:0.3*\L) -- (I) --++ (\angi-30:0.007*\L);% \draw[line width=0.6,white] (I)++(150+\angi:0.3*\L) -- (I) --++ (\angi-30:0.007*\L);% \fill[glass] (O) -- (T) -- (R) -- cycle;% \path[name path=side] (T) -- (R);%% % LIGHT BEAMS% % https://tex.stackexchange.com/questions/230227/creating-a-rainbow-color-macro% \foreach \i [evaluate={% \ng=1.6-\i*0.2/\N;
Click to download: optics_prism.tex • optics_prism.pdf
Open in Overleaf: optics_prism.tex