My camera does not have panorama mode so I created my own.