HomeMedicine & BiophysicsEEG Engagement-Index Control Loop (2D)

EEG Engagement-Index Control Loop (2D)

Interactive 2D neuroadaptive automation simulator: instead of reading band power off a formula, three digital resonant filters (discretized damped harmonic oscillators) driven by noise synthesize a genuine raw EEG-like waveform, a Goertzel spectral estimator measures real theta/alpha/beta power from it, and the resulting engagement index drives the same hysteresis automation controller as the 3D original.

Medicine & Biophysics2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-neuroadaptive-interfaces ↗ Open standalone

Neuroadaptive interfaces close the loop between an operator's brain state and the automation itself, shifting task control as cognitive engagement drifts between boredom and overload. The 3D version of this simulator reads theta/alpha/beta band power off a tuned formula of task load. This 2D cross-section measures it for real instead: three digital resonant filters — discretized damped harmonic oscillators, one tuned to each classic EEG band — are driven by load-scaled noise to synthesize an actual raw waveform, and a Goertzel spectral estimator recovers each band's power from a sliding window of that signal every ~125 ms. The resulting engagement index EI = β/(α+θ) feeds the same exponential-moving-average smoothing and 3-level hysteresis controller as the 3D model, so you can watch the synthesized waveform, the measured band powers, the inverted-U performance curve and the automation state all respond to a genuinely closed feedback loop.

⚙ Under the hood

The 2D sibling of the 3D neuroadaptive automation model: instead of reading theta/alpha/beta band power off a formula, three digital resonant filters (discretized damped harmonic oscillators) driven by load-scaled noise synthesize a genuine raw EEG-like waveform, a Goertzel spectral estimator measures real band power from a sliding window of it, and the resulting engagement index (Pope's beta/(alpha+theta)) drives the same EMA-smoothed hysteresis automation controller as the 3D original.

EEGneuroadaptivebrain-computer interfaceadaptive automationhuman factorsclosed-loop controlsignal processingGoertzel algorithm

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

What did you find?

Add reproduction steps (optional)