I am trying to make a clock in `p5.js`

after watching the Coding Train video on the topic. However, when I try to create an arc, the angle `TWO_PI`

produces no output, where I expect a full circle. Every other angle I have tried has produced the expected fraction of a full circle, but the two angles corresponding to the full circle don’t seem to be working.

My code that I used to attempt to replicate this is as follows:

```
function setup()
{
createCanvas(400, 400);
// angleMode(DEGREES);
angleMode(RADIANS);
}
function draw()
{
// background(220);
// let angle = 270;
// let m = map(angle, 0, 360, mouseX, mouseY, true);
arc(width/2, height/2, 200, 200, 0, TWO_PI);
strokeWeight(4);
stroke(255);
noLoop();
// arc(width/2, height/2, 200, 200, 0, TWO_PI);
}
```

This problem also occurs when the angle mode is DEGREES and the ending angle is 360.

Removing the `angleMode()`

command seems to solve this problem, but then how does `p5`

know what angle mode you’re in?

Any help with this issue is appreciated.