2-D PSRDnoise tutorial

Page 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21

Frame rate: FPS

12: Animated gradients

Here, we see the gradients at selected points as the "alpha" parameter for the noise pattern is animated. A the grid points, marked with orange dots as before, the gradient rotates in perfect sync with the wiggle, because near the grid points only the nearest wiggle has any impact on the noise value. However, between grid points, where there is overlap between the wiggles, the gradient behaves differently. It even rotates in the opposite direction in many places. This is good, because it hides the regularity and makes the motion more "random-looking".

Okay, we have a gradient that is cheap to compute, and it seems to behave nicely when "alpha" is animated. What can we do with that? As it turns out, we can do a lot.

	// Text in this pane will be dynamically replaced.