Home▸Chemistry & Materials▸Drug Ionisation and pH Partition: Neutral Fraction, logD and Equilibration (2D)

Drug Ionisation and pH Partition: Neutral Fraction, logD and Equilibration (2D)

The same pH-partition model in 2D: a two-chamber cell colored like a pH indicator, neutral and ionised molecules, and live curves of neutral fraction, logD and concentration versus time. Educational physical chemistry.

Chemistry & Materials2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Drug Ionisation and pH Partition: Neutral Fraction, logD and Equilibration (2D) ↗ Open standalone

A prodrug is an inactive form of a medicine, chemically masked so it absorbs or distributes better, that the body must first convert into the real, active drug before it works. This simulator renders that conversion as a population of individually-tracked 3D molecules: each prodrug particle has a per-timestep probability of being hydrolyzed into the active form, and each active-drug particle has its own probability of being cleared, exactly reproducing the sequential first-order kinetics — dP/dt = −k1P, dA/dt = k1P − k2A — that describe real prodrug pharmacokinetics such as enalapril→enalaprilat or valacyclovir→acyclovir. Adjustable hydrolysis and elimination rate constants, dose size and simulation speed let you explore activation-limited versus elimination-limited regimes while a live concentration-time chart and population readouts track the run.

⚙ Under the hood

The same pH-partition model in 2D: a two-chamber cell colored like a pH indicator, neutral and ionised molecules, and live curves of neutral fraction, logD and concentration versus time. Educational physical chemistry.

Medicinal ChemistrypKalogDHenderson-HasselbalchIon TrappingMembrane Permeability

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

What did you find?

Add reproduction steps (optional)