HomeNeuroscience & BiophysicsSSVEP Spectrum Decoder Bench

SSVEP Spectrum Decoder Bench

Interactive 2D SSVEP brain-computer-interface simulator: a synthetic occipital EEG channel is tagged by whichever flicker frequency you attend, and a live Goertzel power-spectrum sweep with harmonic-sum PSDA decoding picks out the target, with noise, attention gain and window length tunable in real time.

Neuroscience & Biophysics2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-mobile-neural-interfaces ↗ Open standalone

Steady-state visual evoked potential (SSVEP) is the workhorse of fast, calibration-free brain-computer interfaces: flicker a handful of on-screen targets at distinct frequencies, and the target the user is looking at "tags" their occipital EEG with that same frequency. This 2D bench generates a synthetic single-channel Oz signal driven by whichever target you mark as attended (with tunable attention gain and noise), then sweeps a real Goertzel spectral analysis continuously across 4–13 Hz and decodes the attended target with a harmonic-sum PSDA score — summing power at each candidate's fundamental and 2nd harmonic, the same technique real SSVEP spellers use to squeeze out extra robustness. Watch the live spectrum curve rise and fall as you change noise, attention gain and window length, and see decode confidence and correct-decode rate trade off against how fast the speller can issue a command.

⚙ Under the hood

Interactive 2D SSVEP brain-computer-interface simulator: a synthetic occipital EEG channel is tagged by whichever flicker frequency you attend, and a live Goertzel power-spectrum sweep with harmonic-sum PSDA decoding picks out the target, with noise, attention gain and window length tunable in real time.

neuroscienceBCIEEGSSVEPsignal-processingcanvas-2d

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

What did you find?

Add reproduction steps (optional)