Hi guys,
Is there a way to draw an uncomplete circle without using beginShape()
and curveVertex()
like this ? :
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(){
}
Thanks