Learn creative coding writing simple programs

44. Combine sine functions to create crazy waveforms

If you multiply several sin() function calls together, like in sin()*sin()*sin(), the result is still a number between -1 and 1, but you get much more interesting shapes when you use the result to draw or animate in your programs.

Tags: sin, sine, wave

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