Example #1
0
 public MandelbrotFractal(int iterations, double xmin, double xmax, double ymin, double ymax, int height, int width, IFractalDrawer fractalDrawer)
     : base(height, width, iterations, fractalDrawer)
 {
     Xmin = xmin;
     Xmax = xmax;
     Ymin = ymin;
     Ymax = ymax;
 }
 protected AbstractFractal(int height, int width, int maxIterations, IFractalDrawer fractalDrawer)
     : this(height, width, maxIterations)
 {
     FractalDrawer = fractalDrawer;
 }
 protected AbstractFractal(IFractalDrawer fractalDrawer)
 {
     FractalDrawer = fractalDrawer;
 }
Example #4
0
 public JuliaFractal(int width, int height, int maxiterations, double cx, double cy, IFractalDrawer fractalDrawer)
     : base(width, height, maxiterations, fractalDrawer)
 {
     Cy = cy;
     Cx = cx;
 }