run("New...", "name=Untitled type='32-bit RGB' width=400 height=400"); width = getWidth(); height = getHeight(); for (i=0; i<1000; i++) { w = random()*width/2+1; h = random()*width/2+1; x = random()*width-w/2; y = random()*height-h/2; setForegroundColor(random()*255, random()*255, random()*255); makeOval(x, y, w, h); run("Fill"); }