In After Effects I have created this expression. To create this expression I needed to add a gradient to the background. I then created the diamond shape that is found in the middle of the screen. I was then given a piece of code that I needed to copy and paste into the position and scale of the circle. Once this was completed I set the keys frames for both the position and scale. I added a null object to the ball to allow me to move the ball around and place it where I wanted it to be placed,.