public class GlynnFractalIterator extends MandelbrotJuliaFractalIterator
GlynnFractalIterator
class provides an implementation of the Glynn fractals.
The resulting Julia sets are made with powers n between 1 and 2, and c values close outside the western boundary.
Interesting values for the Julia c parameter are -0.2 + 0i for n equal to 1.5, and -0.375 + 0i, -0.338 + 0i, 0.22 + 0i for n equal to 1.75.
AFractalIterator.EFractalType
Modifier and Type | Field and Description |
---|---|
static org.sm.smtools.math.complex.ComplexNumber |
kDefaultPower
The default power.
|
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 |
---|
GlynnFractalIterator()
Creates a
GlynnFractalIterator object and initialises it with power 1.5. |
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 c)
Evaluates the Glynn function for a specified complex point.
|
java.lang.String |
getCustomFilenamePart()
Returns the power in the custom filename part.
|
org.sm.smtools.math.complex.ComplexNumber |
getDefaultDualParameter()
Returns the default dual parameter in the complex plane.
|
double |
getDefaultEscapeRadius()
Returns the default escape radius of 2.
|
java.lang.String |
getFamilyName()
Returns the family name of this fractal.
|
org.sm.smtools.math.complex.ComplexNumber |
getPower()
Returns the power for this fractal.
|
void |
saveCustom(org.sm.smtools.util.TextFileWriter tfw)
Saves custom fractal parameters to a file.
|
void |
setPower(org.sm.smtools.math.complex.ComplexNumber power)
Sets the power for this fractal.
|
getDefaultP1, getDefaultP2
evaluateFractalFunction, iterate, iterateBifurcationDiagram, renderSpider, rotateImage
autoDetermineMaxNrOfIterations, convertComplexNumberToScreenLocation, convertComplexNumberToScreenLocation, convertScreenLocationToComplexNumber, convertScreenLocationToComplexNumber, getBifurcationAxisZ1, getBifurcationAxisZ2, getBifurcationOutlierPercentileOffset, getBifurcationPoint, getCalculateAdvancedColoring, getCurrentZoomLevel, getDualParameter, getEscapeRadius, getExteriorGaussianIntegersTrapFactor, getExteriorOrbitTrapCrossStalksCentre, getExteriorOrbitTrapDiskCentre, getExteriorOrbitTrapDiskRadius, getExteriorOrbitTrapSineAdditiveFactor, getExteriorOrbitTrapSineMultiplicativeFactor, getExteriorOrbitTrapTangensAdditiveFactor, getExteriorOrbitTrapTangensMultiplicativeFactor, getExteriorStripingDensity, 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
public static final org.sm.smtools.math.complex.ComplexNumber kDefaultPower
public GlynnFractalIterator()
GlynnFractalIterator
object and initialises it with power 1.5.protected org.sm.smtools.math.complex.ComplexNumber evaluateFractalFunction(org.sm.smtools.math.complex.ComplexNumber z, org.sm.smtools.math.complex.ComplexNumber c)
evaluateFractalFunction
in class MandelbrotJuliaFractalIterator
z
- the complex variable zc
- the complex parameter cpublic java.lang.String getCustomFilenamePart()
getCustomFilenamePart
in class AFractalIterator
public org.sm.smtools.math.complex.ComplexNumber getDefaultDualParameter()
getDefaultDualParameter
in class MandelbrotJuliaFractalIterator
public double getDefaultEscapeRadius()
getDefaultEscapeRadius
in class MandelbrotJuliaFractalIterator
public java.lang.String getFamilyName()
getFamilyName
in class MandelbrotJuliaFractalIterator
public org.sm.smtools.math.complex.ComplexNumber getPower()
public void saveCustom(org.sm.smtools.util.TextFileWriter tfw) throws org.sm.smtools.exceptions.FileWriteException
tfw
- a reference to the file writerorg.sm.smtools.exceptions.FileWriteException
- in case a write error occurspublic void setPower(org.sm.smtools.math.complex.ComplexNumber power)
power
- the power for this fractal