HomeMedicine & BiophysicsGastric Mucosal Barrier & Peptic Ulcer Formation (2D)

Gastric Mucosal Barrier & Peptic Ulcer Formation (2D)

Interactive 2D reaction-diffusion model of the stomach's mucus-bicarbonate barrier: watch acid and bicarbonate concentration profiles diffuse and neutralise layer by layer in a depth strip, a crater profile erode the epithelium, and a live strip chart track integrity as H. pylori colonization, NSAID exposure and acid secretion change.

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

A 2D reaction-diffusion model of the stomach's own line of defense: a mucus-bicarbonate gel that separates epithelial cells from acid strong enough to digest them. Layer by layer, hydrogen ions diffusing down from the lumen meet bicarbonate diffusing up from the epithelium and are neutralised in transit — until the barrier itself is degraded by pepsin, NSAIDs, or a colonizing population of Helicobacter pylori. Push acid secretion, colonization density, or NSAID exposure high enough, or defensive secretion too low, and the barrier thins to the point where acid reaches living tissue directly, visibly eroding a crater into the epithelium — a peptic ulcer forming in real time from the same balance of forces gastroenterologists reason about at the bedside. This build renders the depth profile as a colour-mapped strip, the epithelium as a side-view crater profile, and tracks the whole timeline on a scrubbable strip chart.

⚙ Under the hood

A 2D reaction-diffusion model of the stomach's mucus-bicarbonate barrier: watch acid and bicarbonate concentration profiles diffuse and neutralise layer by layer in a colour-mapped depth strip, a side-view crater erode the epithelium, and a scrubbable strip chart track integrity as H. pylori colonization or NSAID exposure thin the barrier until it forms a visible peptic ulcer.

gastroenterologypeptic ulcerH. pyloriNSAIDmucosal barrierreaction-diffusion

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

What did you find?

Add reproduction steps (optional)