Question: 4.A. Write a method mickeyFace(Turtle t, double r) that draws a circular-shaped face of a Mickey-like character, without ears. This method takes a Turtle and
4.A. Write a method mickeyFace(Turtle t, double r) that draws a circular-shaped face of a Mickey-like character, without ears. This method takes a Turtle and the radius r of the face. The turtle starts and end drawing in the center of the face. The exact details of the face are up to your creativity (they dont necessarily have to be identical to the picture); just make sure it has at least two eyes, a nose, and a mouth.
4.B. Using your previous method mickeyFace, write a method fractalMickeyMouse(Turtle t, double r, int level) that recursively draws a character with the face you previously defined, and a recursively downsized version of that same face as ears. Your method will take as parameter a Turtle, the radius r of the face, and an integer level representing the maximum depth of recursion. The radius of each ear is exactly half the radius of the face. Hint: if you do not manage to complete mickeyFace on time, you can replace it with a plain circle of the correct size. The following figure shows an example of a Fractal Mickey Mouse with maximum recursion level (depth) of 6.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
