Heart Simulator: Cardiac Cycle, Wiggers Diagram, PV Loop and ECG Rhythms
A free heart and circulation simulator for students and health professionals: an animated heart synced to a Wiggers diagram, pressure-volume loops with preload, afterload and contractility sliders and disease presets, an ECG rhythm trainer with calipers, QTc and a quiz, and a hemodynamics calculator.
For learning only. A teaching model of the heart and circulation: not a medical device, not for diagnosing anyone or making clinical decisions.
One heartbeat, slowed down. The heart on the left and the Wiggers diagram on the right are the same moment: watch the valves open and close exactly where the pressure lines cross. Click or drag on the diagram to move through the beat.
Each heartbeat traces a loop: filling along the bottom, isovolumic contraction straight up, ejection across the top and relaxation straight down. The width is the stroke volume, the area is the work the ventricle does. Move the sliders and watch the loop answer.
Stiffness, arteries and valves
A lead II rhythm strip on standard paper: 25 mm/s and 10 mm/mV, so one small square is 0.04 s and 0.1 mV, one big square 0.2 s. Pause it and use the calipers to measure the PR, QRS, QT and the rate, or try the quiz.
Which rhythm is this?
QTc calculator
Type the numbers you have; every result that can be worked out appears with its formula and the usual adult resting range. Leave a box empty if you do not know it.
Ranges are typical adult resting values from standard teaching texts; labs and units vary. Oxygen content uses 1.34 ml O₂ per g of haemoglobin and 0.003 ml/dl per mmHg of dissolved oxygen. Haemoglobin in g/L (over 30) is converted to g/dl automatically.
How the heart simulator works
The Cardiac cycle and Pressure-volume loop tabs run the same model: a lumped (“0-D”) circulation of the kind used in physiology teaching and research. The left ventricle and left atrium are time-varying elastances (Suga and Sagawa): their stiffness rises as the muscle contracts and falls as it relaxes, so the pressure in them follows from their volume. The arteries are a three-element Windkessel (a characteristic impedance, a compliance and the systemic vascular resistance). The veins, lungs and right heart are lumped into one large compliant pool that refills the left atrium. The valves are one-way, with pressure drops from the simplified Bernoulli equation, so a narrow valve gives a realistic gradient and a leaking valve lets blood back through its hole.
What to look at
- The valves follow the pressures. The mitral valve shuts when ventricular pressure rises above atrial pressure (S1), the aortic valve opens when it rises above aortic pressure, and it shuts again (S2, with the small dicrotic notch) when the ventricle relaxes. Between them the volume does not change: the isovolumic phases.
- Frank-Starling. Raise the preload and the loop gets wider: a fuller ventricle ejects more. Press Caval occlusion to squeeze off the returning blood: the loops shrink and their top-left corners slide down one straight line, the ESPVR. That is how its slope (Ees, contractility) is measured in the lab.
- Afterload and coupling. Raising SVR makes the Ea line steeper: higher pressure, smaller stroke volume. Ees/Ea near 1-2 is the efficient range.
- Diseases change the shape. Stenosis makes the loop tall (aortic) or small and high-pressured in the atrium (mitral); regurgitation removes the straight isovolumic sides; a stiff ventricle rides up a steep EDPVR.
ECG rhythms
The strip is drawn wave by wave (P, Q, R, S, T as smooth bumps, in the style of McSharry and colleagues' synthetic ECG) by a beat-by-beat generator that follows each rhythm's rule: the PR lengthening of Wenckebach, the sudden drop of Mobitz II, the independent atria and ventricles of complete block, the compensatory pause after a PVC. Rates: 300 ÷ big squares or 1500 ÷ small squares between two R waves. Normal values: PR 120-200 ms, QRS under 120 ms, QTc under 450 ms (men) or 460 ms (women), over 500 ms high risk (AHA/ACCF/HRS 2009). Only lead II is shown; real diagnosis needs all twelve leads and the patient.
Sources and limits
Elastance curve: Stergiopulos, Meister and Westerhof (1996), with its time to peak scaled so electromechanical systole follows Weissler's QS2 = 546 − 2.1 × HR ms. Pressure-volume concepts: Suga and Sagawa (1974); Klabunde, Cardiovascular Physiology Concepts; Guyton and Hall. Severity thresholds: 2020 ACC/AHA valvular heart disease guideline (severe aortic stenosis: area < 1 cm², mean gradient ≥ 40 mmHg; severe mitral regurgitation: EROA ≥ 0.4 cm², regurgitant volume ≥ 60 ml, fraction ≥ 50%; severe aortic regurgitation: EROA ≥ 0.3 cm²; severe mitral stenosis: area ≤ 1.5 cm²). BSA: Mosteller (1987) and Du Bois. The model has no right ventricle of its own, no reflexes (baroreceptors) unless a preset sets them by hand, no coronary flow, and no blood viscosity or inertia except at the aortic valve; numbers are typical, not anyone's. The right side of the drawn heart follows the left side's timing.
Everything runs on your device and nothing is uploaded. Heart Rate Zones · Body Surface Area · Fluid Simulator · More MES tools
