Question: I have the method (java) for drawing mandelbrot below, and it works when I enter the colormap I want( fx blues.mnd), but I would like

I have the method (java) for drawing mandelbrot below, and it works when I enter the colormap I want( fx blues.mnd), but I would like it to choose a random colormap, if I don't enter a specific file, how can that be done?

I have the method (java) for drawing mandelbrot below, and it works

when I enter the colormap I want( fx blues.mnd), but I would

like it to choose a random colormap, if I don't enter a

public static void MandelBrot(int colors ){ StdDraw.setCanvasSize(GRID, GRID); StdDraw.setXscale(0, GRID); StdDraw. setYscale(0, GRID); StdDraw.setPenRadius(1.0/GRID); StdDraw. text(GRID/2, GRID/2, "Creating mandelbrot." StdDraw. show(0); forC int i -0 i GRID; i) for( int j= 0; j

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!