# Animating a circle to move along an curve

Basically, I want to move a graphic (such as a circle) along a given path (such as sin(x)). I was thinking that the trick might be making the x and y coordinates of the circle vary based on the equation, but I have not been able to make anything except a circle that just sits there.

-
Welcome to Mathematia.SE! Please have a look at the FAQ to make the most of your experience here. – Yves Klett Jan 3 '13 at 12:29
Have a good look at the help for Manipulate and Circle and Graphics. Also, the demonstrations site is bound to yield some relevant code... – Yves Klett Jan 3 '13 at 12:31
In addition, it is always a good idea to post the code you´ve tried already so we get an idea how to best help you out. – Yves Klett Jan 3 '13 at 12:38
Thank you! I'll make sure to post my erroneous code in the future. And I'll definitely be spending time on that demonstrations site, it's awesome. – kneu93 Jan 3 '13 at 12:41
You could (and should) still add your code to the question - this will help future visitors to make more quickly sense of this thread and see how PlotRange can help them in similar situations. – Yves Klett Jan 3 '13 at 13:39

You need to specify the PlotRange:
f[x_] := Sin[x];