Repeat the previous project, but position the centers of the circles on a spiral. The center of

Question:

Repeat the previous project, but position the centers of the circles on a spiral. The center of each circle will depend on both an angle and a distance from the origin. A constant change in both the angle and the distance will result in a spiral pattern.


Previous project

Create a JavaFx application that draws a pattern of evenly spaced circles. Use four constants to control the pattern: the number of circles to draw, the radius of the first circle, the change in the radius of each subsequent circle, and the change in the x-coordinate of the circle. Cycle the colors of the circles through red, green, and blue.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: