!7 static ImageSurface isGood, isBad; p { repeat with sleep 1 { Rect r = randomScreenPart(50, 50); RGBImage clip = rgbShootScreen(r); float prec = rgbLocalPrecision(img, r); if (prec >= 0.5f) isGood = showImage(isGood, "Precise", clip); else isBad = showImage(isBad, "Wobbly", clip); } }