xxxxxxxxxx
26
let a = 0;
function setup() {
createCanvas(700, 700);
}
function draw() {
background(0);
stroke(255);
strokeWeight(1);
noFill();
ellipse(150, 150, 300);
strokeWeight(4);
stroke(255);
fill(255, 100);
arc(150, 150, 300, 300, 0, a, PIE);
a = lerp(a, 1, 0.05);
fill(255);
noStroke();
textSize(64);
textFont('courier');
text("1 radian", 320, 200);
}