Particles
Interactive particle grid

Interaction through mouse movements

Sin 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!


Format
Responsive Canvas

Keywords
Programming,  Javascript, P5.JS, Mouse Interaction

BACK
CONTACT