Class Fractal
java.lang.Object
ch.nolix.tech.math.fractal.Fractal
- All Implemented Interfaces:
IFractal
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateSequenceFor(IComplexNumber complexNumber) getColorForIterationCountWhereValueMagnitudeExceedsMaxMagnitude(int iterationCount) intintintinttoImage()static FractalwithParams(IClosedInterval realComponentInterval, IClosedInterval imaginaryComponentInterval, int widthInPixel, int heightInPixel, Function<IComplexNumber, ISequence<IComplexNumber>> sequenceCreator, BigDecimal sequencesMinDivergenceMagnitude, int sequencesMaxIterationCount, IntFunction<IColor> colorFunction, int decimalPlaces)
-
Field Details
-
CONVERGENCE_COLOR
-
-
Method Details
-
withParams
public static Fractal withParams(IClosedInterval realComponentInterval, IClosedInterval imaginaryComponentInterval, int widthInPixel, int heightInPixel, Function<IComplexNumber, ISequence<IComplexNumber>> sequenceCreator, BigDecimal sequencesMinDivergenceMagnitude, int sequencesMaxIterationCount, IntFunction<IColor> colorFunction, int decimalPlaces) -
createSequenceFor
- Specified by:
createSequenceForin interfaceIFractal
-
getDecimalPlaces
public int getDecimalPlaces()- Specified by:
getDecimalPlacesin interfaceIFractal
-
getColorForIterationCountWhereValueMagnitudeExceedsMaxMagnitude
- Specified by:
getColorForIterationCountWhereValueMagnitudeExceedsMaxMagnitudein interfaceIFractal
-
getHeightInPixel
public int getHeightInPixel()- Specified by:
getHeightInPixelin interfaceIFractal
-
getImaginaryComponentInterval
- Specified by:
getImaginaryComponentIntervalin interfaceIFractal
-
getRealComponentInterval
- Specified by:
getRealComponentIntervalin interfaceIFractal
-
getMaxIterationCount
public int getMaxIterationCount()- Specified by:
getMaxIterationCountin interfaceIFractal
-
getMinMagnitudeForDivergence
- Specified by:
getMinMagnitudeForDivergencein interfaceIFractal
-
getWidthInPixel
public int getWidthInPixel()- Specified by:
getWidthInPixelin interfaceIFractal
-
startImageGeneration
- Specified by:
startImageGenerationin interfaceIFractal
-
toImage
-