2D Aliev-Panfilov model. Tip dynamics

a k dt dx

it delay fps


Use Alt- r, s, t keys to control the script.

On 2D plane positive u values are displayed by the red color. v values are displayed by the green color. This script uses simple explicit algorithm and 512×512 float32 textures with the Neumann (CLAMP_TO_EDGE) boundary conditions. It makes 2 it time steps dt per frame. In 3 seconds the script begins to plot the path of the spiral wave tip.
Heart rhythms     updated 10 June 2012