Class BurningShipFractalAlgorithm

java.lang.Object
jadex.micro.mandelbrot.model.AbstractFractalAlgorithm
jadex.micro.mandelbrot.model.BurningShipFractalAlgorithm
All Implemented Interfaces:
IFractalAlgorithm

public class BurningShipFractalAlgorithm extends AbstractFractalAlgorithm
Algorithm for calculating the mandelbrot set.
  • Constructor Details

    • BurningShipFractalAlgorithm

      public BurningShipFractalAlgorithm()
  • Method Details

    • determineColor

      public short determineColor(double xn, double yn, short max)
      Determine the color of a point.
      Parameters:
      xn - The x coordinate.
      yn - The y coordinate.
      max - The maximum depth.
      x - The x coordinate.
      y - The y coordinate.
      Returns:
      A value for the point from 0 to max.
    • getDefaultSettings

      public AreaData getDefaultSettings()
      Get default settings for rendering the fractal.