q5.draw = function () { background(0.8); letn = noise(frameCount * 0.01); circle(0, 0, n * 200); };
Example
q5.draw = function () { background(0.8); lett = (frameCount + mouseX) * 0.02; for (letx = -5; x < 220; x += 10) { letn = noise(t, x * 0.1); circle(x - 100, 0, n * 40); } };
Example
q5.draw = function () { noStroke(); lett = millis() * 0.002; for (letx = -100; x < 100; x += 5) { for (lety = -100; y < 100; y += 5) { fill(noise(t, (mouseX + x) * 0.05, y * 0.05)); square(x, y, 5); } } };
🧮 Generates a noise value based on the x, y, and z inputs.
Uses Perlin Noise by default.