//This produces random pixels that never abut. import java.awt.*; import java.awt.image.*; class Main { static final int X = 256, Y = 256; static BufferedImage I = new BufferedImage(X, Y, BufferedImage.TYPE_BYTE_GRAY); static int fc = 0; static public void main( String[] args ) { boolean[][] p = new boolean[X][Y]; for(int j=0; j