Learn creative coding writing simple programs

67. Circular motion: sine and her cousin.

We have previously used sin() to generate numbers that continuosly slide between -1 and 1, but we did not study what sin() represented. This time we do that. We have a look at sine and cosine, two similar functions that help us create a circular motion. You can play with the sine/cosine tool at http://bit.ly/sine_cosine I hope it helps you understand sine and cosine.

Tags: sine, cosine, sin, cos, circular, motion, Computer Programming

Code editor

You can make changes to the code below. Then
Below you can ask and answer questions related to this video. If your question is unrelated to the video, please post it at the Processing Forum as I'm unable to help with all of your programs and still have enough free time to eat and sleep :)
comments powered by Disqus