Get a picture of something. Give it the name pic:
Hint: try a common type of animal, or a famous person.
Reflect the picture top-to-bottom. Try other reflections, like LeftRight:
Note: run the previous step first to define pic.
Reflect again vertically. Try making other patterns with different combinations of reflections:
Note: reflections other than Left->Right and Top->Bottom will give different-size images that can’t be assembled.
Repeat two times. Try more times:
Note: it may take a long time to run the code if you repeat more than 4 times.
Resize the picture to keep it from getting too large. Try sizes other than 400: