Animating mouse movement

I have done some effect based on the position of the mouse. Now I would like to have an animation based on this effect, meaning I would like to have the mouse “moving” for a while. What is a good way to animate the mouse movement.

Thanks