Question: Recursion, Graphics with JavaFX Shapes Design two JavaFX applications named PictureIterative and PictureRecursive that produce the same picture. Must use objects from Circle, Ellypse, and
Recursion, Graphics with JavaFX Shapes
Design two JavaFX applications named PictureIterative and PictureRecursive that produce the same picture. Must use objects from Circle, Ellypse, and Arc classes. In addition, must have one or more objects from Line and/or Rectangle classes. Must use at least three colors (two colors should be static constants from class Color, and third color should be an object instantiated from Color class by providing three RGB values). Finally, use one Text object to write your first and last name in the upper right corner of the drawing.
First application one should contain iterative method drawPicture to draw shapes, and second one should contain recursive method drawPictureRec to draw the same. Formal parameter list should include parameter group of Group type. Other possible parameters should be used as needed. Both pictures should use three colors to alternate colors of shapes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
