원점 중심이 아닌 열쇠 구멍 윤곽선을 어떻게 생성합니까?

원점 중심이 아닌 열쇠 구멍 윤곽선을 어떻게 생성합니까?

나는 열쇠 구멍이 첫 번째 사분면과 같은 작은 원이고 주 원이 여전히 원점 중심에 있는 열쇠 구멍 윤곽을 만들려고 노력해 왔습니다. 나는 특히 열쇠 구멍이 원점에 있는 열쇠 구멍 윤곽을 만들려고 하지 않고 있으며 그 방법을 찾을 수 없는 것 같습니다. 나는 한동안 그것을 가지고 놀았지만 아무 것도 작동시킬 수 없습니다. 누구에게 조언이 있습니까?

감사해요!

편집: 내가 만들려고 하는 것은 다음과 같습니다.여기에 이미지 설명을 입력하세요

답변1

이와 같이:

여기에 이미지 설명을 입력하세요

이미지에서는 $sin{alpha} ~ \alpha$(작은 \alpha에서)로 간주되며 궤적에 있는 구멍 각도 사이의 비율은 약 8입니다.

\documentclass[tikz,
               border=3mm,
               ]{standalone}
\usetikzlibrary{arrows.meta, decorations.markings}

\begin{document}
\begin{tikzpicture}[>=Straight Barb,
decoration={markings,% switch on markings
            mark=between positions 0.2 and 0.8 step 0.25 with {\arrow[thick]{>}},
            mark=at position 0.86 with {\arrow[thick]{>}},
            mark=at position 0.98 with {\arrow[thick]{>}}
        }]
% curve
\draw[fill=gray!10, postaction={decorate}] 
            (47.5:2) arc (47.5:360:2   ) arc (0:42.5:2) 
       -- + (225:0.5) arc (25  :0  :0.25) arc(360:65:0.25) -- cycle;
% singularity
\fill[red]  (45:1.25) circle (1pt) node[inner sep=2pt,font=\footnotesize,right] {$a$};
% radius 
\draw[thick, ->] (0,0) -- node[sloped,above] {$r$} (330:2);
% coordinate axes
\draw[->] (-3,0) -- (3,0) node[right] {$\Re$};
\draw[->] (0,-3) -- (0,3) node[above] {$\Im$};
\end{tikzpicture}
\end{document}

관련 정보