I tried making a circle move from the center of the screen in a Sinus frequency (X axis only) and complete a full period with a frame rate of 60.
What I’ve tried in the builder is simply:
Position[X,Y] $ = (sin(t)*18, 0)
I want to make a complete period when the circle starts moving exactly from the center, goes right, then left and returns to the center.
The problem: The way I tried thus far, I keep playing with the duration but it’s not precise and not returning to the center.
How do I achieve that and control the variables?