Question: Skills Please write a program to display H - tree fractal described as follows: Begin with a letter H . The three lines of the
Skills Please write a program to display Htree fractal described as follows:
Begin with a letter H The three lines of the H are of the same length, as shown
in Figure a
The letter H in its sansserif form, H has four endpoints. Draw an H centered
at each of the four endpoints to an Htree of order as shown in Figure b These
H s are half the size of the H that contains the four endpoints.
Repeat step to create a Htree of order and so on as shown in Figure
The Htree is used in VLSI design as a clock distribution network for routing
timing signals to all parts of a chip with equal propagation delays. Write an
Application that draws an Htree, as shown in the figure.
What to upload in CANVAS?
Java source file
Screen shot of two sample runs
Fill in selfevaluation:
Can your program display a single H shape?
Can your program display H shapes recursively?
Can your shape fill in the entire frame when the frame is resized?
The purpose of this assignment is to help you practice the following skills that are essential to your success in this course in school in this field in professional life beyond school:
Review what a recursion method is and its benefits
Develop recursive methods
Review how recursive methods calls are handled in the call stack.
Solve problems using recursion
Solve the Tower of Hanoi problem using recursion
Draw fractals using recursion
Review tailrecursive methods
Knowledge
This assignment will also help you to become familiar with the following important content knowledge in this discipline:
Recursive algorithm
Problemsolving using recursion
Tasks
Begin with the letter The three lines of the are of the same length, as shown in Figure a in the attached PDF
Repeat step to create an H tree of order dots, and so on as shown in Figure c d in the PDF
in java show the code so ic an see how to do it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
