Made the ball pulse by altering radius with sine function.