HomeMedicine & BiophysicsGut Microbiome Diversity Simulator

Gut Microbiome Diversity Simulator

Interactive gut microbiome simulator: five bacterial phyla compete for the same gut niche as you tune dietary fiber, antibiotic dose and processed sugar, watching the Shannon diversity index swing between a balanced ecosystem and dysbiosis.

Medicine & Biophysics3DModerate60 FPS
microbiome-and-health ↗ Open standalone

The human gut hosts hundreds of bacterial species competing for the same fermentable resources — collectively a "second genome" of roughly 3.3 million genes. This simulator tracks five representative phyla as they compete for that shared niche under replicator dynamics: each phylum's population share grows only when its fitness beats the community average. Dial in dietary fiber, antibiotic dose and processed sugar to see the community shift between a balanced, high-diversity ecosystem and dysbiosis — the collapse toward one dominant, often pro-inflammatory phylum linked to obesity, inflammatory bowel disease and antibiotic-associated infection. The Shannon diversity index quantifies exactly where the ecosystem sits on that spectrum in real time.

⚙ Under the hood

Interactive 3D model of five competing gut bacterial phyla: tune dietary fiber, antibiotic dose and processed sugar to watch the Shannon diversity index swing between a balanced microbiome and dysbiosis.

Three.jsmicrobiomegut-bacteriashannon-diversitydysbiosisbiologymedicine

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)