The java applet on this page simulates diffusion and reaction between two chemicals U and V.

Reaction:

U + 2 V -> 3 V

The chemical U diffuses faster than V, and is used as fuel to produce chemical V, while chemical V catalyzes its own production.

Dynamics:

This particular reaction-diffusion model is known as the Gray-Scott model , and it is one of the most well studied reaction-diffusion models. In addition to the diffusion constants the model also has two more parameters - f and k. The parameter f regulates how fast fuel (U) is added to the system, while k regulates the rate with which the product (V) is removed from the system. Depending on the parameters this system can form a rich variety of different patterns. For example:

- Selfreplicating spots. The spots grow until they split into two new spots in a way that is reminiscent of cellular division. f = 0.02, k = 0.079, Movie 1 Movie 2.
- Spiral waves, f = 0.02, k = 0.0735, Movie 1 Movie 2.
- Pulsating, f = 0.0195, k = 0.066, Movie 1 Movie 2.
- Labyrinth patterns, f = 0.024, k = 0.078, Movie 1 Movie 2.

The U + 2V -> 3V Gray-Scott reaction may be more of a thought experiment than an actual chemical reaction, but there are also real chemicals with similar pattern forming reactions. One famous example is the Belousov-Zhabotinsky reaction (see also this very nice Belousov-Zhabotinsky video on youtube).

#### Java simulation

The java simulation uses periodic boundary conditions, i.e. the top edge is folded to meet the bottom edge, and left edge is folded to meet the right edge, as if the lattice was wrapped around a torus. The colors show the concentration of U. Black is the lowest concentration, increasing through red and yellow, to green which corresponds to the maximum concentration.**Lattice sizes**

The applet is currently using a 300x300 lattice. Reload the applet with a :

- 220x220 cell lattice (small and fast)
- 300x300 cell lattice (medium)
- 400x400 cell lattice (big and slow)

The source code for the applet is available on request.

*Above is a map of representative configurations for different combinations of the parameters f and k.*

Parameter f varies along the x-axis and is in [0.01, 0.028].

Parameter k varies along the y-axis and is in [0.05, 0.095].

Parameter f varies along the x-axis and is in [0.01, 0.028].

Parameter k varies along the y-axis and is in [0.05, 0.095].

#### References

- Turing, A.M. (1952)
*The chemical basis of morphogenesis*, Philosophical Transactions of the Royal Society of London. B 327, 37.72 - Gray P., Scott S.K. (1985),
*Sustained oscillations and other exotic patterns in isothermal reactions*, Journal of Physical Chemistry, 89:25 - Pearson, J.E. (1993),
*Complex patterns in a simple system*, Science 261:189