Make an animation from rotation of a sine curve
http://www.geogebratube.org/material/show/id/2336 (Download GeoGebra file)