HomeMedicine & BiophysicsHeart Tube Looping (2D): Elastic-Rod Buckling & Bifurcation

Heart Tube Looping (2D): Elastic-Rod Buckling & Bifurcation

2D companion simulation: a numerically-relaxed elastic-rod model of embryonic heart-tube looping, paired with a live pitchfork bifurcation diagram showing how the Nodal/Pitx2 left-right bias resolves the loop's chirality.

Medicine & Biophysics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-fetal-heart-development-looping-morphogenesis ↗ Open standalone

This 2D companion renders embryonic cardiac looping through a genuinely distinct numerical route from its 3D sibling: instead of bending a tube mesh into a closed-form circular arc, it discretizes the heart tube as forty rigid links pinned to the fixed cavity chord and relaxes them, frame by frame, toward a minimum-bending-energy configuration via iterative position-based-dynamics constraints — the buckle emerges from the solver instead of being assigned to it. A second panel plots a live pitchfork bifurcation diagram of loop chirality against the Nodal/Pitx2 left-right bias, making explicit the stochastic symmetry-breaking that the 3D build only narrates: near-zero bias leaves the straight state mechanically unstable, forcing a coin-flip onto one of two stable D-loop/L-loop branches, exactly as real loss-of-function heterotaxy does.

⚙ Under the hood

2D companion simulation: a numerically-relaxed elastic-rod chain buckles the embryonic heart tube into its C-loop and S-loop on its own, alongside a live pitchfork bifurcation diagram showing how the Nodal/Pitx2 left-right bias resolves — or fails to resolve — the loop's chirality.

embryologycardiac developmentbiomechanicsmorphogenesisleft-right asymmetryelasticabifurcation diagramphase space

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

What did you find?

Add reproduction steps (optional)