Trying to recreate the image translation and rotation experiment

Trying to recreate the image translation and rotation experiment. Not
complete and still half done.