The best I have is this—I don’t know what I am missing. I want for each circle to have a delay or something, because right now all the circles grow at the same time.
You can also have an array of thetas and so each circle has its individual theta (and 2nd array for the value you add to it, so that can be different too)
for (int i= 0; i <=180; i++) {
if(i==180){
i=0
}
thetha = PI*i/180
circle(width/2, height/2,(width/20)*sin(theta));
}
I divided the width by 20 because I wanted the initial radius of the circle to be small, if you want the initial radius to be smaller, you should divided it by a number greater than 20 and if you want it to be larger, then you divide by a number less than 20. The relationship between the radius of the circle and the denominator is an inverse relationship.
You can also increase the increment operator to i+=2, i+=3 etc