Algorithm for real time Coordinate smoothing
A Kalman filter is a reasonable choice for this.  It is useful for tracking the movement of an object, as it can be used with a model for the physics of the movement of an object.