title: Animating a moving dot
body: <p>I need to animate a dot/plot that moves randomly until it crosses a circle, which it then stays on. Ideally, there would be several dots which, when eventually on the circle, would be equally distributed on said circle.
  I've seen codes using matplotlib and matplotlib.animate which animated a function's graph, but I was not able to fully understand them.</p>
  
  <p>Thanks for your time!</p>
  
  <p>Edit:
  <a href="http://i.stack.imgur.com/Cggj3.png" rel="nofollow">This is what it would look like with one dot</a></p>
  
  <p><a href="http://i.stack.imgur.com/XZXyT.png" rel="nofollow">And with several dots</a></p>