Marble Example
We can use turbulence to generate beautiful 3D marble textures, such as the marble vase created by Ken Perlin. The idea is simple. We fill space with black and white stripes, using a sine wave function. Then we use turbulence at each point to distort those planes.

By varying the frequency of the sin function, you get a few thick veins, or many thin veins. Varying the amplitude of the turbulence function controls how distorted the veins will be.

Marble = sin(f * (x + A*Turb(x,y,z)))

Experiment with different values of frequency and amplitude to create new solid marble textures.
Lecture 22 Slide 27 6.837 Fall '98