Resting tissue Depolarized wavefront Fibrotic / inexcitable

Atrial Fibrillation Rotor 2D: Barkley Excitable-Medium Model

This top-down 2D companion to the 3D cardiac-rotor simulator swaps the Mitchell–Schaeffer ionic model for the Barkley excitable-medium equations — an independent, widely used two-variable reaction-diffusion system from nonlinear dynamics that reproduces the same spiral-wave (rotor) physics seen in real atrial tissue. Fire a planar S1 beat, then a timed S2 premature beat into part of its still-refractory wake to trigger a unidirectional conduction block, the textbook mechanism that spins up a self-sustaining spiral. Tune conduction velocity, excitability threshold and fibrosis density to see, live, why shortened refractoriness and diffuse fibrosis make reentrant arrhythmias easier to start and harder to stop — verified numerically here to keep a genuine rotor spinning long after an isolated beat would have died out at the tissue boundary.