Sinus and noise functions on rectangles

Creative Code Experiment

P5.js

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.

Keywords

Programming, Â Javascript, P5.JS, Shapes, Sin, Cos

BACK

CONTACT