X and Y speed is set to be the same length as the number of images.