# Jay Summet # Released to the public domain, October 2007 # # Drags a red line across an image, obscuring the image. from myro import * initialize("COM25") pic = takePicture() show(pic) for x in range(getWidth(pic)): for y in range( getHeight(pic)): pixel = getPixel(pic,x,y) #Draw the red line. setRed(pixel,255) setGreen(pixel,0) setBlue(pixel,0) repaint(pic)