HomeMedicine & BiophysicsOtolith Illusion: Hair-Cell Population Coding (2D)

Otolith Illusion — Hair-Cell Population Coding (2D)

Interactive 2D model of the otolith organs as a population of directionally-tuned hair cells: watch the cosine-tuned firing pattern and its population-vector decode diverge from true head tilt as linear acceleration is applied, reproducing the somatogravic illusion pilots and drivers really experience.

Medicine & Biophysics2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-vestibular-system-otolith-organ-balance ↗ Open standalone

This 2D companion to the 3D utricle simulator strips the mechanism down to the sensory-coding stage itself: a ring of directionally-tuned hair cells, each firing according to how strongly the momentary specific-force vector — gravity minus linear acceleration — projects onto its own preferred direction, exactly as real otolith afferents are measured to behave (cosine tuning). A population-vector decode reconstructs "which way is down" from that firing pattern, passed first through the same first-order viscous-gel lag as the 3D model. Because gravity and acceleration are mathematically indistinguishable in the specific-force vector the hair cells actually sense, the decoded direction drifts away from the true head orientation exactly as it does in real pilots and drivers — the somatogravic illusion — and a rolling strip chart makes that drift and its recovery visible over time.

⚙ Under the hood

Interactive 2D model of the otolith organs as a ring of directionally-tuned (cosine-tuned) hair cells: watch the population firing pattern and its population-vector decode diverge from true head tilt as linear acceleration is applied, reproducing the real somatogravic illusion experienced by pilots and drivers, with a rolling strip chart showing the illusion build up and decay over time.

vestibular systemotolith organssomatogravic illusioninner earbalancebiomechanicspopulation codinghair cells2D

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

What did you find?

Add reproduction steps (optional)