Micelle Drug Solubilization 2D — Cross-Section & Isotherm

This simulation renders a 2D cross-section through a suspension of surfactant micelles in water: circular hydrophobic cores are packed across the slice plane, and a swarm of drug-molecule dots random-walks between them in genuine 2D — not a flattened view of a 3D scene. As drug molecules wander near a micelle they partition into its core with a probability set by the partition coefficient (log P) and are capacity-limited by the core's finite volume, while already-bound molecules can escape back into solution — the same two-way equilibrium that governs how poorly water-soluble drugs are solubilized for delivery. Next to the cross-section, a live parameter diagram traces the full Langmuir binding-isotherm curve (solubilized fraction versus log P) with a marker showing exactly where the current simulation sits, and how closely the running particle count tracks the closed-form prediction.