public class MilestoneMain { public static final int WIDTH = 500; public static final int HEIGHT = 500; public static final Complex topLeft = new Complex(0.402589755868683, 0.1921543496459); public static final Complex bottomRight = new Complex(0.402679825967559, 0.192064279547024); // public static final Complex topLeft = new Complex(-1, 1); // public static final Complex bottomRight = new Complex(1, -1); public static void main(String[] args) { MandelbrotImage mi = new MandelbrotImage(topLeft, bottomRight, WIDTH, HEIGHT); int height = HEIGHT / 4; MandelbrotThread[] mts = new MandelbrotThread[] { new MandelbrotThread(0, height, mi), new MandelbrotThread(height, 2*height, mi), new MandelbrotThread(2*height, 3*height, mi), new MandelbrotThread(3*height, 4*height, mi) }; // TODO: Start all of the threads and join them before this last line. new SimpleMandelbrotGui(mi); } }