%% examples/optics-mirrors.tex
%%
%% Concave and convex mirror variants with reflective-surface anchors.

\documentclass[tikz, border=6mm]{standalone}
\usepackage{tikzphysics}

\begin{document}
\begin{tikzpicture}[font=\small]
  \draw[->,gray] (-3.3,0) -- (3.3,0);
  \node[concave-mirror, mirror radius=5cm,
        mirror thickness=0.25cm,
        mirror aperture angle=28] (M1) at (0,0) {};
  \fill (M1.surface-25) circle (1pt)
    node[left=3pt] {\texttt{surface-25}};
  \node[below=5pt] at (M1.south) {concave mirror};

  \begin{scope}[xshift=7cm]
    \draw[->,gray] (-3.3,0) -- (3.3,0);
    \node[convex-mirror, mirror radius=5cm,
          mirror thickness=0.25cm,
          mirror aperture angle=28] (M2) at (0,0) {};
    \fill (M2.surface-75) circle (1pt)
      node[right=3pt] {\texttt{surface-75}};
    \node[below=5pt] at (M2.south) {convex mirror};
  \end{scope}
\end{tikzpicture}
\end{document}
