/** Generates a stepped 45 degree edge in a bordered image. * Image is 8x8 plus 1px border, total of 10x10. * @author Bob Futrelle * @version March 27 2004 v0.1 **/ public class ImageGenerator { double[][] image; public double[][] run() { image = new double[10][10]; for(int i = 1; i < 9; i++) for(int j = i; j < 9; j++) if (i==j) image[i][j] = 128.0; else image[i][j] = 255.0; System.out.println("Image created."); return image; } // run() } // class ImageGenerator