Click to reopen instructions.

For this boot up draw a horizontal line of circles, each circle touching the ones next to it in line, just like in the original line of cirlces boot up. However this time each circle should have a random size, which you can get by calling the provided randomRadius method, passing in the width and the x value where you drew the previous circle (or 0 the first time you call it).

This time the line of circles doesn’t need to be centered; the first circle can be drawn just touching the left side of the drawing area. However you should only draw as many circles as fit across the width of the drawing area.

This boot up is an excellent opportunity to use a while loop rather than a for loop. (You can do it with either—there is nothing you can do with one kind of loop that you can’t do with the other—but this is a problem that is more naturally expressed with a while loop because we don’t know at the start of the loop how many iterations will be required.

Put definitions here.

Revisions:

Line of random circles

Compilation errors