Perlin noise is an algorithm written by Ken Perlin to produce sequences that appear both random and organic. The noise() function in p5 produces Perlin noise.
The dots in this example are sized based on noise values. The slider on the left sets the distance between dots. The slider on the right sets an offset in the noise calculation.
Related Examples

No alt text
Color Interpolation
Fade between two colors.

No alt text
Color Wheel
Create a visualization of the color spectrum.

No alt text
Bezier
Draw a set of curves.

No alt text
Kaleidoscope
Draw mirrored designs with the mouse.

No alt text
Noise
Generate naturalistic textures using Perlin noise.

No alt text
Recursive Tree
Draw a tree using a function that calls itself.