# Jagged circles in online experiment

**URL:** https://discourse.psychopy.org/t/jagged-circles-in-online-experiment/26411
**Category:** Builder
**Tags:** pavlovia
**Created:** [December 9, 2021, 3:41pm UTC](https://discourse.psychopy.org/t/jagged-circles-in-online-experiment/26411 "2021-12-09T15:41:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bets](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/bets/32/13075_2.png) [@bets](https://discourse.psychopy.org/u/bets)
#### Post date: [December 9, 2021, 3:41pm UTC](https://discourse.psychopy.org/t/jagged-circles-in-online-experiment/26411/1 "2021-12-09T15:41:49Z")

</div>

Description of the problem: I am using psychopy v2020.2.0. Even though I increase the num of vertices, the circles in my online experiment look jagged. How can I fix? Thanks in advance.

This topic has been created before, but I couldn’t find a working solution since I created the experiment in the builder.  
I am using pixel as unit.

 ![pavlovia_screenshot](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/0/3/03c8641f33691cb7bb627d05b1e5ec324a19d4ec.png)

---

<div class="post-metadata">

### Author: ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)
#### Post date: [December 9, 2021, 5:17pm UTC](https://discourse.psychopy.org/t/jagged-circles-in-online-experiment/26411/2 "2021-12-09T17:17:46Z")

</div>

Would it be appropriate to increase the thickness of the border? 1 pixel is bound to give a jagged edge.

---

<div class="post-metadata">

### Author: ![bets](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/bets/32/13075_2.png) [@bets](https://discourse.psychopy.org/u/bets)
#### Post date: [December 9, 2021, 5:52pm UTC](https://discourse.psychopy.org/t/jagged-circles-in-online-experiment/26411/3 "2021-12-09T17:52:03Z")

</div>

Thanks a lot for your help. Even if I change the line thickness to 2, it looks jagged. What do you think I should change?  
By the way, it looks smooth in psychopy, this problem only exists in pavlovia.  
Here are the properties:

 ![polygon Properties 12_9_2021 8_46_28 PM](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/6/5/65ae55b4ef79f7626fe3e358966d7509d213075c.png)

---

<div class="post-metadata">

### Author: ![bets](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/bets/32/13075_2.png) [@bets](https://discourse.psychopy.org/u/bets)
#### Post date: [December 13, 2021, 12:56pm UTC](https://discourse.psychopy.org/t/jagged-circles-in-online-experiment/26411/4 "2021-12-13T12:56:49Z")

</div>

Also, I upgraded psychopy to 2020.2.10. However, the circles are still jagged in pavlovia.

---

<div class="post-metadata">

### Author: ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)
#### Post date: [December 13, 2021, 1:03pm UTC](https://discourse.psychopy.org/t/jagged-circles-in-online-experiment/26411/5 "2021-12-13T13:03:51Z")

</div>

You could try the latest version. However anti-aliasing is not as good online as locally.

> [@Visual stimulus edges appear blurred](https://discourse.psychopy.org/t/visual-stimulus-edges-appear-blurred/19535/8):
>
> Hi @toto, do you mean that the circle edges are pixelated ie. there is no antialiasing? If so you may be interested in the issue I created today on psychopy’s github page: I’ve managed to solve that issue by creating the window object with different parameters (see the issue above, the solution was suggested [here](https://discourse.psychopy.org/t/drawing-multiple-anti-aliased-lines/2593/11)) - this can not be done in the Builder directly unfortunatelly (AFAIK). But you could add a code component that replaces automatic builder window with a custom one. Let me know if yo…

Best wishes,

Wakefield
