Problem
Create a movie where an input picture becomes inverted. The program should swap the two middle rows of pixels in the first frame, then the next two rows in the second frame, and so on, working outward from the middle until the image is completely inverted.