Texture Garden

Water simulation

Unfortunately, your browser does not support Java.
A Java applet is the central focus of this page.
You're encouraged to try again using a Java-aware browser.

This applet displays an interactive animated watery texture in real time.

It operates using a 2D cellular automaton, which simulates radiating wavefronts on the water's surface.

The model stores a displacement and velocity at every point on the water's surface, and accelerates each point towards the position of the average of its von-Neumann neighbours.

There's a more detailed description of the algorithm employed [here].

Toroidial boundary constraints are appled, so the image will tesselate seamlessly.

The result is intended for use as a height-map.

See also, the "Swimming pool applet".


tim@tt1.org | http://texturegarden.com/