Edit and compile if you like:
\documentclass[border=2pt]{standalone}% Drawing\usepackage{tikz}% Tikz Library\usetikzlibrary{decorations.markings, calc, arrows.meta, positioning, shadings}% Styles%% Laser\tikzset{laser/.style={thick, black}}%% Arrow in the Middle of a Line\tikzset{arrow inside/.style = {postaction=decorate, decoration={markings, mark=at position .62 with \arrow{stealth}}}}\tikzset{arrow inside1/.style = {postaction=decorate, decoration={markings,mark=at position .62 with \arrow{stealth}}}}%% Rays\tikzset{ray/.style={very thick, red, arrow inside}}\tikzset{ray1/.style={very thick, red, arrow inside1}}%% Detectors\tikzset{detector/.style={thick, draw=black, fill=black!40}}%% Reflector\tikzset{reflector/.style={thick, black, left color=black!50, right color=black!50, middle color=white}}\tikzset{reflector1/.style={thick, black, top color=black!50, bottom color=black!50, middle color=white}}\begin{document}%Layers\pgfdeclarelayer{background}\pgfdeclarelayer{foreground}%\pgfsetlayers{background, main, foreground}\begin{tikzpicture}% % Grid% \draw[black!20] (0,0) grid (10,10);% \foreach \i in {0,...,10}% {% \node at (-2ex,\i) {\i};% \node at (\i,-2ex) {\i};% }
Click to download: interferometer.tex
Open in Overleaf: interferometer.tex
This file is available on GitHub.
See more on the author page of Alexandros Tsagkaropolulos.