|
Source code: cellDistanceDifference.pde
As a first example on how to animate the noise, this looks fairly good. The nice thing about it is the simplicity of the code though:
pixels[x + y*width] = color(
(float)(cd.F[1]-cd.F[0]) * 200,
(float)(cd.F[1]-cd.F[0]) * 170,
(float)(cd.F[1]-cd.F[0]) * 60
);
|