When start angle and end angle are both 2*PI, arc in PIE mode draws a small dot but all other modes do not. To keep the behavior consistent, maybe none of the modes should draw anything when the delta is 0?

(Scroll down for code)
function setup() {
createCanvas(400, 400);
}
function draw() {
var offset = 0;
for (var x = 0; x < PI * 2; x += QUARTER_PI) {
arc(50.0 + offset, 50.0, 50.0, 50.0, x, 2*PI);
arc(50.0 + offset, 100, 50, 50, x, 2*PI, OPEN);
arc(50.0 + offset, 150, 50, 50, x, 2*PI, CHORD);
arc(50.0 + offset, 200, 50, 50, x, 2*PI, PIE);
offset += 50;
}
}
Welcome! 馃憢 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.
Thanks to @dzaima, I realized that in my orginal snippet the start angle and end angle are acutally not the same. When I manually set them to a fixed value, I get a full circle instead of nothing:
function setup() {
createCanvas(400, 400);
}
function draw() {
arc(50.0, 50.0, 50.0, 50.0, 2*PI, 2 * PI);
arc(50.0, 100, 50, 50, 0, 0, OPEN);
arc(50.0, 150, 50, 50, 1, 1, CHORD);
arc(50.0, 200, 50, 50, 2, 2, PIE);
}

Does that mean this issue can be closed, or is there still something to resolve?
@jeremydouglass I think the behavior is still inconsistent since I think if the start angle and end angle are the same we should expect nothing to be drawn instead of a full circle :)
A check probably can be added at the beginning of the arc function or the normalize angle function to account for this.