HomeMedicine & BiophysicsPopulation Vector Decoding of Motor Cortex Spikes

Population Vector Decoding of Motor Cortex Spikes (2D)

Interactive 2D simulation of an intracortical brain-computer interface: a population of cosine-tuned motor-cortex neurons fires Poisson spikes for an intended reach direction, and a population-vector decoder reconstructs the direction from the spike counts in real time.

Medicine & Biophysics2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-neural-implant-brain-computer-interface-decoding ↗ Open standalone

This 2D-canvas companion models the same core algorithm behind intracortical brain-computer interfaces as its 3D counterpart: a population of cosine-tuned motor-cortex neurons, each preferring a different reach direction, fires Poisson-distributed spikes whose rate depends on how close the intended movement direction is to the neuron's preferred direction. A population-vector decoder — the same weighted-sum algorithm from the landmark Georgopoulos motor-cortex studies, and the ancestor of every modern intracortical BCI decoder — reconstructs the intended direction purely from the spike counts, letting you see in real time how neuron count, tuning strength and neural noise trade off against decode accuracy, including a direct sweep of decode error versus population size.

⚙ Under the hood

Interactive 3D simulation of an intracortical brain-computer interface: a ring of implanted electrodes records cosine-tuned motor-cortex neurons firing Poisson spikes for an intended reach direction, and a population-vector decoder reconstructs that direction from the spike counts in real time.

neurosciencebrain-computer-interfaceneural-decodingelectrophysiology3D

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

What did you find?

Add reproduction steps (optional)