public abstract class ADivergentFractalIterator extends AFractalIterator
ADivergentFractalIterator
class provides a base class for divergent fractals (e.g., Mandelbrot).
Note that this is an abstract class.
AFractalIterator.EFractalType
fBifurcationAxisZ1, fBifurcationAxisZ2, fBifurcationOutlierPercentileOffset, fBifurcationPoints, fCalculateAdvancedColoring, fComplexHeight, fComplexWidth, fDualParameter, fEscapeRadius, fEscapeRadiusSqr, fExteriorGaussianIntegersTrapFactor, fExteriorOrbitTrapCrossStalksCentre, fExteriorOrbitTrapDiskCentre, fExteriorOrbitTrapDiskRadius, fExteriorOrbitTrapSineAdditiveFactor, fExteriorOrbitTrapSineMultiplicativeFactor, fExteriorOrbitTrapTangensAdditiveFactor, fExteriorOrbitTrapTangensMultiplicativeFactor, fExteriorStripingDensity, fFractalType, fInteriorGaussianIntegersTrapFactor, fInteriorOrbitTrapCrossStalksCentre, fInteriorOrbitTrapDiskCentre, fInteriorOrbitTrapDiskRadius, fInteriorOrbitTrapSineAdditiveFactor, fInteriorOrbitTrapSineMultiplicativeFactor, fInteriorOrbitTrapTangensAdditiveFactor, fInteriorOrbitTrapTangensMultiplicativeFactor, fInteriorStripingDensity, fInvertYAxis, fMaxBifurcationValue, fMaxNrOfIterations, fMinBifurcationValue, fNrOfBifurcationPoints, fNrOfBifurcationPointsPerOrbit, fNrOfBifurcationPointsToDiscard, fP1, fP1X, fP1Y, fP2, fP2X, fP2Y, fScreenBounds, fScreenHeight, fScreenWidth, fUseFixedNrOfIterations, fZ0, kInitialScreenBounds
Constructor and Description |
---|
ADivergentFractalIterator() |
Modifier and Type | Method and Description |
---|---|
protected org.sm.smtools.math.complex.ComplexNumber |
evaluateFractalFunction(org.sm.smtools.math.complex.ComplexNumber z,
org.sm.smtools.math.complex.ComplexNumber zPrevious,
org.sm.smtools.math.complex.ComplexNumber c)
Evaluates the fractal function for a specified complex point.
|
protected IterationResult |
iterate(org.sm.smtools.math.complex.ComplexNumber z,
org.sm.smtools.math.complex.ComplexNumber c,
boolean saveOrbit)
Helper method for a general iteration with the escape-time algorithm.
|
void |
iterateBifurcationDiagram(int width)
Iterates all points in the bifurcation diagram.
|
protected boolean |
renderSpider()
Returns whether or not the Spider fractal function is activated.
|
protected boolean |
rotateImage()
Returns whether or not the image should be rotated 90 degrees clockwise.
|
autoDetermineMaxNrOfIterations, convertComplexNumberToScreenLocation, convertComplexNumberToScreenLocation, convertScreenLocationToComplexNumber, convertScreenLocationToComplexNumber, evaluateFractalFunction, getBifurcationAxisZ1, getBifurcationAxisZ2, getBifurcationOutlierPercentileOffset, getBifurcationPoint, getCalculateAdvancedColoring, getCurrentZoomLevel, getCustomFilenamePart, getDefaultDualParameter, getDefaultEscapeRadius, getDefaultP1, getDefaultP2, getDualParameter, getEscapeRadius, getExteriorGaussianIntegersTrapFactor, getExteriorOrbitTrapCrossStalksCentre, getExteriorOrbitTrapDiskCentre, getExteriorOrbitTrapDiskRadius, getExteriorOrbitTrapSineAdditiveFactor, getExteriorOrbitTrapSineMultiplicativeFactor, getExteriorOrbitTrapTangensAdditiveFactor, getExteriorOrbitTrapTangensMultiplicativeFactor, getExteriorStripingDensity, getFamilyName, getFractalType, getInteriorGaussianIntegersTrapFactor, getInteriorOrbitTrapCrossStalksCentre, getInteriorOrbitTrapDiskCentre, getInteriorOrbitTrapDiskRadius, getInteriorOrbitTrapSineAdditiveFactor, getInteriorOrbitTrapSineMultiplicativeFactor, getInteriorOrbitTrapTangensAdditiveFactor, getInteriorOrbitTrapTangensMultiplicativeFactor, getInteriorStripingDensity, getInvertYAxis, getMainFractalOrbitStartingPoint, getMaxBifurcationValue, getMaxNrOfIterations, getMinBifurcationValue, getNrOfBifurcationPoints, getNrOfBifurcationPointsPerOrbit, getNrOfBifurcationPointsToDiscard, getP1, getP2, getScreenBounds, getScreenHeight, getScreenWidth, getUseFixedNrOfIterations, iterateDualFractal, iterateDualFractal, iterateMainFractal, iterateMainFractal, plainTextLoadCustomParameters, plainTextLoadParameters, plainTextSaveCustomParameters, plainTextSaveParameters, resetMainFractalOrbitStartingPoint, setBifurcationAxisZ1, setBifurcationAxisZ2, setBifurcationOutlierPercentileOffset, setCalculateAdvancedColoring, setComplexBounds, setDualParameter, setEscapeRadius, setExteriorGaussianIntegersTrapFactor, setExteriorOrbitTrapCrossStalksCentre, setExteriorOrbitTrapDiskCentre, setExteriorOrbitTrapDiskRadius, setExteriorOrbitTrapSineAdditiveFactor, setExteriorOrbitTrapSineMultiplicativeFactor, setExteriorOrbitTrapTangensAdditiveFactor, setExteriorOrbitTrapTangensMultiplicativeFactor, setExteriorStripingDensity, setFractalType, setInteriorGaussianIntegersTrapFactor, setInteriorOrbitTrapCrossStalksCentre, setInteriorOrbitTrapDiskCentre, setInteriorOrbitTrapDiskRadius, setInteriorOrbitTrapSineAdditiveFactor, setInteriorOrbitTrapSineMultiplicativeFactor, setInteriorOrbitTrapTangensAdditiveFactor, setInteriorOrbitTrapTangensMultiplicativeFactor, setInteriorStripingDensity, setInvertYAxis, setMainFractalOrbitStartingPoint, setMaxNrOfIterations, setNrOfBifurcationPointsPerOrbit, setNrOfBifurcationPointsToDiscard, setScreenBounds, setScreenBounds, setUseFixedNrOfIterations, streamLoadCustomParameters, streamLoadParameters, streamSaveCustomParameters, streamSaveParameters
protected org.sm.smtools.math.complex.ComplexNumber evaluateFractalFunction(org.sm.smtools.math.complex.ComplexNumber z, org.sm.smtools.math.complex.ComplexNumber zPrevious, org.sm.smtools.math.complex.ComplexNumber c)
The default behaviour redirects to the function without z(n - 1).
z
- the complex variable z at nzPrevious
- the complex variable z at n - 1c
- the complex parameter cprotected IterationResult iterate(org.sm.smtools.math.complex.ComplexNumber z, org.sm.smtools.math.complex.ComplexNumber c, boolean saveOrbit)
iterate
in class AFractalIterator
z
- the complex variable zc
- the complex parameter csaveOrbit
- a boolean
indicating whether or not the orbit should be savedpublic final void iterateBifurcationDiagram(int width)
iterateBifurcationDiagram
in class AFractalIterator
width
- the width of the diagram in pixelsprotected boolean renderSpider()
The default is false
boolean
indicating whether or not the Spider fractal function is activatedprotected boolean rotateImage()
The default is false
.
boolean
indicating whether or not the image should be rotated 90 degrees clockwise