Textile ECG Motion-Artifact Filter
A woven chest-strap electrode grid picks up a heartbeat corrupted by motion; an adaptive LMS filter uses a correlated accelerometer-style reference to cancel the artifact in real time and recover the clean waveform.
A grid of woven electrode nodes across a chest-strap fabric reads a heartbeat signal that is constantly corrupted by movement. This simulator renders that raw, noisy reading as a scrolling ribbon of lit nodes in 3D, alongside a second ribbon showing what a real adaptive LMS (least-mean-squares) filter recovers once it learns to predict and subtract the motion-correlated artifact from a reference channel — the same technique used in real chest-strap textile ECG and motion-artifact cancellation. Adjust heart rate, motion intensity and the filter's adaptation rate, or switch the filter off entirely to compare against the untouched raw signal, while live readouts track detected BPM, BPM error, output SNR and the filter's converged weight magnitude.
A woven chest-strap electrode grid reads a heartbeat corrupted by motion; an adaptive LMS filter learns to predict and cancel the artifact from a correlated reference channel, recovering the clean waveform in real time.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install