Loop Structures. PutPixel function Some of our examples will use the function putPixel, that turns on the pixel at location (x,y) In java, the origin.