A simple app to animate cosine