Moving a sprite along a line sinusoidally.