Practice Recursion.
(int n)
and
m(int n)
methods in the HofstadterFM
class
of the example
package, if you have not already done so.
Complete the recursive drawSierpinski()
method in the CarpetRenderer
class of the carpet
package. This method should render the
Sierpiński Carpet as shown in
the figure below. The carpet is rendered by following these steps:
3.0
. Remember, in all your code:
Here is the grading rubric for this assignment.
Turn in your programming work by committing it to your SVN repository.