Creative Code Experiment
Simple Experiment using noise and sinus functions in P5.js which result in animated rectangles as graphical forms. in and Cos
This sketch applies Sin and Cos which are used in geometry extensively, and people typically associate them with triangles, circles, and music. In easy terms, no matter what you put in, you’re going to get out a number in the range of -1 and 1. Sines and Cosines do this in a continuous wave, which allows us to multiply any value by the output and get a smoothly changing value.