mandelbrot source java

Upload: yaminyan

Post on 09-Oct-2015

40 views

Category:

Documents


1 download

DESCRIPTION

Source code java mandelbrot

TRANSCRIPT

public void MBrot() { float epsilon = 0.0001; // The step size across the X and Y axis float x; float y; int maxIterations = 10; // increasing this will give you a more detailed fractal int maxColors = 256; // Change as appropriate for your display. Complex Z; Complex C; int iterations; for(x=-2; x