image shearing script written in processing