🫀 Cardiac Action Potential

FitzHugh-Nagumo excitable media · 2D tissue · Spiral wave reentry

Simulation

Click anywhere on tissue to stimulate

Parameters

Colour map

Rest
Peak

Membrane potential v ∈ [−2, 2]

Stats

Active cells0%
Step0
V at centre
Mode

💓 Cardiac Action Potential — FitzHugh-Nagumo Model

A 2D excitable-media simulation of cardiac tissue using the FitzHugh–Nagumo model. Click to stimulate regions and watch action potential waves, spiral reentry and fibrillation emerge from a simple two-variable ODE.

🔬 What It Demonstrates

How excitable cells (cardiomyocytes) generate and propagate electrical impulses. The FitzHugh–Nagumo model captures depolarisation, repolarisation and the refractory period with just two variables — a fast voltage-like variable and a slow recovery variable.

🎮 How to Use

Click anywhere on the tissue grid to deliver a stimulus. Place a second stimulus during the refractory tail to trigger spiral reentry — the mechanism behind cardiac arrhythmias. Adjust diffusion and time constants to control wave speed.

💡 Did You Know?

Spiral reentry waves in the heart are a leading cause of ventricular tachycardia and fibrillation. Defibrillation works by simultaneously depolarising all cells, resetting the tissue so the normal pacemaker (SA node) can regain control.