Blood Glucose Regulation: Insulin-Glucagon Loop (2D)
A Canvas2D lab of the same beta/alpha-cell feedback model as the 3D version: pick a fasting, after-meal or diabetic scenario and watch a live glucose trace, an islet of Langerhans and hormone flow arrows show insulin and glucagon pulling blood glucose back toward its 90 mg/dL set point.
This 2D companion runs the exact same insulin-glucagon feedback equations as the 3D version — first-order hormone secretion relaxing toward a target set by how far glucose sits from its 90 mg/dL set point — through a flat trace-and-gauge view built for reading the loop rather than orbiting a scene.
Euler-integrated feedback model: insulin and glucagon each relax toward a target proportional to glucose's distance above/below the 90 mg/dL set point, then insulin clears glucose (scaled by insulin sensitivity) while glucagon releases it back — impaired beta-cell gain and low insulin sensitivity reproduce the diabetic scenario's blunted response.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install