HomeMedicine & BiophysicsEffect-Compartment PK/PD Hysteresis Simulator (2D)

Effect-Compartment PK/PD Hysteresis Simulator (2D)

Interactive 2D pharmacokinetic/pharmacodynamic simulator: watch drug molecules diffuse from a plasma tank into an effect-site tank across a permeability channel, tracing a counterclockwise concentration-effect hysteresis loop, with adjustable half-life, effect-site equilibration rate and EC50.

Medicine & Biophysics2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-medicine-topic-49 ↗ Open standalone

A drug's plasma concentration and its clinical effect are not the same curve. This 2D simulator models the classic effect-compartment ("biophase") link between a one-compartment plasma pharmacokinetic model and a sigmoid Emax pharmacodynamic response, rendering it as a physical two-tank diffusion analogy: drug molecules stream through a connecting channel from the plasma tank into the effect-site tank at a rate set by the instantaneous concentration gradient, while a live strip chart and a dedicated hysteresis-loop panel plot the resulting concentration and effect curves directly. Adjust the peak plasma concentration, elimination half-life, effect-site equilibration rate (ke0) and EC50 to see how a fast-equilibrating drug tracks plasma almost immediately while a slow one produces a wide, sluggish loop — the same mechanism that explains why a sedative or analgesic's peak effect always trails its peak blood level.

⚙ Under the hood

Interactive 2D pharmacokinetic/pharmacodynamic simulator: watch drug molecules diffuse from a plasma tank into an effect-site tank across a permeability channel, tracing a counterclockwise concentration-effect hysteresis loop as the drug equilibrates into its effect-site compartment.

pharmacologypharmacokineticspharmacodynamicshysteresisdosingclinical

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)