posted 10 years ago
I am working on this project in which in each recursion, I must insert 4 rings. RingComponent class has two instance variables; outerWidth and minWidth.
outerWidth is the width of the biggest ring in the shape.
minWidth is the width of the smallest ring in the shape, and this value is used to determine when to stop recursion. My problem is trying to get the rings to appear recursively within the already drawn circle.
Here is my code :
[/code]