/Color-Spiral

A P5.js Sketch

Primary LanguageJavaScript

Color-Spiral

Using sine and cosine functions and some logic, I have created a spiral of colored circles that rotate around the mouse and change their colors.

You can change the number of balls by changing the number of balls variable. You can change the properties of the particles by changing code in the particle class.

ColorSpiral.mp4