CC-Fractal-Suite
|
Class implementing the Mandelbrot fractal. More...
#include <Mandelbrot.h>
Public Member Functions | |
Mandelbrot (MandelbrotStashData &mandelData) | |
virtual FractalCoordsInfo | calculate (COMPLEX coords) override |
Calculates the Mandelbrot fractal. More... | |
COMPLEX | calculate_z (COMPLEX z, COMPLEX c) |
Calculate Z runs only the fractal math calculation. More... | |
Public Attributes | |
MandelbrotStashData | data |
Class implementing the Mandelbrot fractal.
It is being treated as a 'principled mandelbrot', where as far as is sensibles, the formula was opened up and parameterized so that it can be animated, meaning that it is easily capable of creating fractals that are not strictly fractals. Julia sets, multibrots, and the ability to animate between them is expressed through this object.
|
overridevirtual |
Calculate Z runs only the fractal math calculation.
This is distinct from the calculate member in that calculate initializes some data, and sets the return type conditions. This has been separated so that this class can be subclassed, and still use Mandelbrot-like fractals without duplicating the fundamental math.