-
Notifications
You must be signed in to change notification settings - Fork 339
Open
Description
The last video suggest room for improvement regarding the black area, and I suggest modify the drawFractal() method:
- Put
red,green,bluecalculations outside ofif (iterations != Mandelbrot::MAX_ITERATIONS)blob - Declare a
huevariable outside of that if statement, and sethueequal to(double) totalPixels / rangeTotalwithin the if statement - By initializing the
huevalue (e.g., =1.0), black area, which corresponds toMAX_ITERATIONS, will be other colors
Metadata
Metadata
Assignees
Labels
No labels