The object could be simple, a rect or circle. But the path should be a bezier curve. Please provide javascript/Raphael code if not too much trouble.
It will be nice if there is trailing effect of the moving object during annimation.
See Question&Answers more detail:os