How do I move a shape along a sine curve?

I want to move a circle along a sine curve. How do I do this?


I love your passion :slight_smile:

Maybe you can start with drawing a circle?

Thanks, I do have a circle!
I’m stuck with how to set up the x and y(x and y coordinates of the circle) to animate the circle, do you have any ideas on this?

Sorry I have no idea - do you want to share the code to draw a circle?


You have to start somewhere…

I encourage you to review the resources available here:

There may be something of interest in there for you.

Sine waves? There is a tutorial on trigonometry. And coordinate system and shapes.