Moving in Circles and Waves

We can use some pre-built math equations to easily have objects move around in circles, in wave patterns and bounce up and down.

Moving in Circles and Waves

Moving in circles and waves is all pretty straight forward. We can just use some simple trig functions that are provided for is in the Math class.

I don't have a full tutorial built for you, but I do have a link to a website that details how these movements can be achieved in detail (it is in Python, but the principles are the same). I also have a link to an example program of mine that you can take a look at.

Explanation:

https://inventwithpython.com/blog/2012/07/18/using-trigonometry-to-animate-bounces-draw-clocks-and-point-cannons-at-a-target/

My Demo Program:

https://github.com/AldworthClass/Trig-for-Animating-Waves-and-Circles