Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Noise in two dimensions isn’t much more complicated than it is in one—it’s just a matter of shifting perspective, conceptually, from a line to a plane. One-dimensionally, a progression of noise values yields a wavering line, like a mountain range viewed on the horizon. Looking at it in two dimensions, you’re viewing the mountain range from above, as if you were flying over it in a helicopter; looking straight down, you see a plane of peaks and troughs.
The best way to demonstrate is with an example. Open a new script, and tap in the contents of the following listing.