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
Questions and comments are welcome! :) But please try to stay close to the topic of this episode. Use the Processing forums for help with your Processing projects (or hire me for help ;-)