```
\documentclass[pstricks]{standalone}
\usepackage{pst-node,multido}%
\begin{document}
%\multido{\rA=180+1}{180}{%
\begin{pspicture}[showgrid](-4,-4)(4,4)
\pscircle{3}
\pnode(3;180){A} 
\pscircle(A){.5}
\rput(A){\pnode(.5;180){B}}
\psline(A)(B)
\psellipse(3.5,2.5) %% <<-- I think so!
\psdot(A)
\psdot*[linecolor=red](B)
\end{pspicture}
%}
\end{document}

```

[![enter image description here](https://i.stack.imgur.com/h9d6Z.png)](https://i.stack.imgur.com/h9d6Z.png)

Question: 

How to create an animation as the following:

[![enter image description here](https://i.stack.imgur.com/bbMUT.png)](https://i.stack.imgur.com/bbMUT.png)

[![enter image description here](https://i.stack.imgur.com/2JKX7.png)](https://i.stack.imgur.com/2JKX7.png)

[![enter image description here](https://i.stack.imgur.com/z43Jl.png)](https://i.stack.imgur.com/z43Jl.png)