Sinusoids have their ups and downs
Sinusoids are mathematical entities that model 'period' or 'cyclic' behavior. They can be generated by orbiting a point around a circle at a constant rate.
Watch as this motion creates a wave-like image: a 'sinusoid!'
Wanna see the Python source code?
Glad you asked: here it is.
Once we got this demo working here, it was just a dirty shame not to have the app done in JavaScript processing, so we turned right around and wrote it up. Take a look and compare with Python3!
Note: Thanks to Peter Farrell and his book: Math Adventures with Python (No Starch Press) for inspiring this app. He described it in Python3 and it was so cool we just had to write it in JavaScript as well. See the live action here.
Last update: 09/19/19