Home▸Medical Technology & Imaging Physics▸Potassium Homeostasis Lab (2D)

Potassium Homeostasis Lab (2D)

A Canvas2D lab of the same two-timescale feedback model as the 3D version: a central serum-potassium gauge, a fast insulin-driven cell-uptake node and a slow aldosterone-driven kidney node show how the body keeps blood potassium inside its narrow normal range.

Medical Technology & Imaging Physics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-potassium-homeostasis-lab ↗ Open standalone

This 2D companion runs the exact same two-timescale feedback equations as the 3D version — a fast, insulin-driven cellular shift and a slow, aldosterone-driven renal excretion, both pulling against a constant dietary intake — through a flat gauge-and-node view built for reading the homeostatic loop rather than orbiting a scene.

⚙ Under the hood

Exponential-relaxation model: insulin and aldosterone each relax toward a target set by how far serum potassium sits from its 4.2 mEq/L setpoint, on a 0.7s and 6s time constant respectively; net dK/dt = diet intake − insulin cell-shift flux − aldosterone renal-excretion flux, clamped to the 2.0-7.5 mEq/L physiological range.

potassiumaldosteronekidney physiologyelectrolyteshyperkalemia2D

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

What did you find?

Add reproduction steps (optional)