Visualizing dimensional noise algorithms

The source code is available on GitHub

visualization of noise produced by fractal brownian motion algorithm

I'm in love with the aesthetics of noise and randomness. That love inspired this app for viewing dimensional noise with a vector field.

The app works like this:

For each point on a 2D grid, a line segment (vector) is created at that point. We calculate a noise value based on each line's XY coordinates and rotate the line segment accordingly. We also use the noise value to set the length (or magnitude) of the vector.

The app demonstrates different noise algorithms provided by the noise crate including:

If you're generally interested in how noise algorithms work, check out the noise section in the Book Of Shaders.

visualization of noise produced by fractal brownian motion algorithm