Here is the source code:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0, 0) circle (1cm);
\path[fill=black] (90:1cm) arc (90:270:1cm);
\path[fill=black] (0:0cm) arc (-90:90:.5cm);
\path[fill=white] (0:0cm) arc (90:270:.5cm);
\path[fill=white] (0, .5) circle (.1cm);
\path[fill=black] (0, -.5) circle (.1cm);
\end{tikzpicture}
\begin{tikzpicture}
\draw (0, 0) circle (1cm);
\filldraw[color=black] (90:1cm) arc (90:270:1cm);
\fill[color=black] (0, .5) circle (.5cm);
\fill[color=white] (0, -.5) circle (.5cm);
\fill[color=white] (0, .5) circle (.1cm);
\fill[color=black] (0, -.5) circle (.1cm);
\end{tikzpicture}
\end{document}

Both approaches should work, but apparently the first one has some flaws, why?


