framerate

Consider two-variable system of reaction - diffusion equations [1]

∂v/∂t = u - v , u

The local dynamics (in the absence of diffusion) is illustrated in Fig.1.

On 2D plane the *u* values are displayed by the red color
and the *v* values by the green one. Diffusion propagates excitation
through the plane and we get nonlinear waves.

In this script *a = 0.5, b = 0.04, ε = 0.02*.
As since 8 bit floating point values (in RGBA textures) are not enough,
therefore floating numbers are stored broken in two cells (bytes).

[1] Dwight Barkley
*"A model for fast computer simulation of waves in excitable media"*
Physica D 49 (1991) 61-70

[2] M.Dowle, R.M.Mantel and D.Barkley
*"Fast simulations of waves in three-dimensional excitable media"*
Int. Journal of Bifurcation and Chaos, Vol. 7, No. 11 (1997) 2529-2545

Simulations on GPU