Create a movie where an input picture becomes wider and wider with successive frames. For example, the first frame of the movie might just have the middle 5 columns of pixels, then the second frame might have the middle 10 columns of pixels, then 15 columns, and so on.
What will be an ideal response?
```
def wipeIn(directory, picture):
#if each frame has 5 pixels changed, max frame is width/5
width = getWidth(picture)
height = getHeight(picture)
for num in range (1 ,width/5):
canvas = makeEmptyPicture (width,height)
column = num*5
clippedPicture = clip(picture, (width/2)-column/2, 0, column, height)
copy(clippedPicture, canvas, 0, 0)
numStr=str(num)
if num < 10:
writePictureTo ( canvas , directory +"//frame0"+ numStr +".jpg")
elif num >= 10:
writePictureTo ( canvas , directory +"//frame"+ numStr +".jpg")
movie = makeMovieFromInitialFile(directory+"/frame00.jpg");
return movie
```
Computer Science & Information Technology