How to draw a circular circle

Hello, everyone!

I want to use psychopy to draw a circular ring. Is a good way to draw that?

Create a Polygon stimulus with many edges (e.g. a 100-sided regular polygon will look pretty much like a circle on screen):

http://www.psychopy.org/api/visual/polygon.html#psychopy.visual.Polygon

Thank you for your reply. Sorry, I didn’t mentioned clearly before. Actually, I want to draw a circular ring, like the figure showed below.Inline image 1

So either:

  • define a ShapeStim that has no fill colour, or (more clumsily),
  • construct it in two steps: first draw a large filled-in black circle, and then draw a smaller filled-in white circle on top of it.