# Uncomplete circle

**URL:** https://discourse.processing.org/t/uncomplete-circle/1060
**Category:** Coding Questions
**Created:** [June 18, 2018, 9:41pm UTC](https://discourse.processing.org/t/uncomplete-circle/1060 "2018-06-18T21:41:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)
#### Post date: [June 18, 2018, 9:41pm UTC](https://discourse.processing.org/t/uncomplete-circle/1060/1 "2018-06-18T21:41:00Z")

</div>

Hi guys,

Is there a way to draw an uncomplete circle without using `beginShape()` and `curveVertex()`  
like this ? :

```auto
int diam = 200;

void setup(){
  size(500,500);
  translate(width/2,height/2);
  stroke(#E044A2);
  background(0);
  noFill();
  strokeWeight(50);
  
  beginShape();
  for(float a = 0;a<=TWO_PI - HALF_PI;a+=0.01){
    curveVertex(cos(a)*diam,sin(a)*diam);
  }
  endShape();

  noLoop();
}

void draw(){
}

```

![circle](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/1X/213f5613f74076384d291d62c3de37b3db6de8e8.jpg)

Thanks

---

<div class="post-metadata">

### Author: ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)
#### Post date: [June 18, 2018, 9:42pm UTC](https://discourse.processing.org/t/uncomplete-circle/1060/2 "2018-06-18T21:42:24Z")

</div>

Sounds like you’re looking for the `arc()` function. More info can be found in [the reference](https://processing.org/reference/arc_.html).

---

<div class="post-metadata">

### Author: ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)
#### Post date: [June 18, 2018, 9:43pm UTC](https://discourse.processing.org/t/uncomplete-circle/1060/3 "2018-06-18T21:43:50Z")

</div>

Yes of course thanks @Kevin that was to simple ahah 😁

Have a nice day
