!752 static int w = 45, h = 45; static ImageSurface imageSurface; p { bool firstTime = true; while licensed { Rectangle r = randomScreenPart(w, h); RGBImage image = shootScreen(r); imageSurface = showImage(image, imageSurface); if (firstTime) { imageSurface.setZoom(2); packFrame(imageSurface); firstTime = false; } sleepSeconds(1); } }