I am thinking of making a simple movement pattern for an object, think a leaf on the top of a lake that slowly drifts back and forth (in theX axis from a side view). Not sure what would be the best method to make this look smooth and good though. Also the object should be "anchored" to a point so it does not drift to far away from it. Say in an area that is 50 pixels to either side of the "anchor".
Do anyone know of a good way to achieve this?