@josephh Please don’t just provide full code solutions without an explanation. Instead, try to walk people through the process of solving their own problems. That’s much more helpful for people who aren’t sure how to proceed!
@rolando One thing you might consider is adding int maxLevel and int currentLevel arguments to your drawCircle. Only make recursive calls to drawCircle() if currentLevel is less than maxLevel. That might sound confusing, but it generally looks like this:
int currentMaxLevel = 1;
void draw(){
drawCircle(0, currentMaxLevel);
}
void drawCircle(int currentLevel, int maxLevel){
//draw your circle
if(currentLevel < maxLevel){
drawCircle(currentLevel + 1, maxLevel);
}
}
Then you can increase the currentMaxLevel over time to draw more levels of recursion.
If you’re still confused, please try to narrow your problem down to a MCVE instead of posting your whole program.