// Make a moving 2d background // http://forum.imagej.net/t/generating-synthetic-data-2d-surface/11318 // Dave Mason imageDim=256; //-- Set image dimension in pixels numSpots=150; //-- Number of spots in the field spotDiam=50; //-- how big (in pixels) should the spot be blurRatio=0.2; //-- relationship between particle size and Gaussian kernel frames=50; //-- how many images do you want wiggleDist=5; //-- full range for wiggle distance //-- Make a new image newImage("Example", "8-bit grayscale-mode black", imageDim, imageDim, 1,1,frames); //run("Add...", "value=128"); //-- uncomment if you want minima and maxima //-- Create random spots for (i=0;i