For this week is to use trigonometric functions and oscillating motion in a loop sketch.
I tried several examples from the page, and what I find most interesting is to create transformed circle loop animation by simply using the trigonometric.
Here is my work:
The principle is really simple, I first create a static trigonometric pattern, then I add a variable to make the dislocation.
for (let a = 0; a < 360; a += 5) {let x = cos(2 * a+1) * 100;let y = sin(2 * a) * 150;let w = sin(t + a) * 300;let e = cos(t + a) * 300;stroke(255);strokeWeight(0.5);noFill();ellipse(x, y, w, e);}
t += 0.01;
I add some Perlin Noise to it.