Home▸Medicine & Biophysics▸Pharmacogenomic Dosing Simulator (2D)

Pharmacogenomic Dosing Simulator (2D)

2D canvas companion to the 3D original: the same one-compartment pharmacokinetic model, but dose and dosing interval are sliders you set directly, with an auto-adjust solver that fits the regimen to the therapeutic window for the chosen metabolizer type.

Medicine & Biophysics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-pharmacogenomic-dosing-simulator ↗ Open standalone

This 2D companion runs the exact same one-compartment pharmacokinetic model as the 3D original — the same absorption and clearance equations, the same three CYP2D6-style metabolizer genotypes, the same six-dose regimen — but the dose amount and the interval between doses are sliders you move yourself instead of a fixed preset. Push the dose up or shrink the interval for a poor metabolizer and the trough concentration climbs into the toxic zone before the regimen finishes; do the same for an ultra-rapid metabolizer and the curve struggles to reach the therapeutic window at all. The Auto-adjust button solves live for the dose that centres this genotype's regimen peak inside the therapeutic window at the current interval — the pharmacogenomic-testing answer, computed instead of looked up in a table.

⚙ Under the hood

2D canvas pharmacokinetic simulator: single-compartment first-order absorption/elimination model (C(t) = dose·ka /(Vd·(ka−ke)) · (e^(−ke·Δt) − e^(−ka·Δt))) summed across a six-dose regimen, with genotype-specific clearance rates and a numerical solver that fits dose to a target peak inside the therapeutic window.

pharmacogenomicspharmacokineticsdrug metabolismCYP2D6personalized medicine

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

What did you find?

Add reproduction steps (optional)