Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Dr Java! I need help ASAP Triangles! Oh Fractals! Objective: Write a program in which draws (yes it actually makes a picture) a triangular

In Dr Java! I need help ASAP image text in transcribed
Triangles! Oh Fractals! Objective: Write a program in which draws (yes it actually makes a picture) a triangular fractal using recursion. This is best if done using a java applet Suggested Methodology The idea for it is this 1. First draw a filled equilateral triangle 2. Next draw another filled equilateral triangle of a different color that's upside down in the middle of that triangle 3. Using the other triangles formed repeat step 2 until a pixel limit of 4 is reached HINTS It may be a good idea to look at the examples I gave 02/12/2015 The method fillPolygon(intl] xPoints, intlI yPoint, numberOfPoints) as called by the graphics device is important The method setColor(Color aColor) is important for picking different colors to draw things Example Image of Results: id Applet View. Applet Applet started

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Probability & Statistics For Engineers & Scientists

Authors: Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying

7th Edition

9789813131279, 130415294, 9813131276, 978-0130415295

Students also viewed these Databases questions

Question

4. I can tell when team members dont mean what they say.

Answered: 1 week ago