Home▸Robotics & Kinematics▸Neurorobotics: Brain-Machine Interface Arm Control (2D)

Neurorobotics: Brain-Machine Interface Arm Control (2D)

2D brain-machine interface lab: a population of cosine-tuned cortical neurons (the real Georgopoulos motor-cortex model) fires noisy spikes for an intended reach direction, a population-vector decoder reconstructs it, and a 2-link planar robot arm executes the decoded movement.

Robotics & Kinematics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-neurorobotics-brain-machine-interface-arm-control ↗ Open standalone

This 2D companion drives the same brain-machine interface decode pipeline as the 3D version through a plain canvas view built for reading the neuroscience rather than orbiting a scene: a ring of cosine-tuned cortical neurons fires proportionally to how closely its own preferred direction matches the intended reach, a population-vector decoder reconstructs that intended direction from the weighted sum of the population's noisy activity, and a 2-link planar arm carries out the decoded movement with a live raw-vs-smoothed decode-error readout. Adjusting the recorded neuron count, neural noise, tuning-curve sharpness and decode update rate shows exactly how population coding, sample size and temporal filtering combine to recover a clean movement signal from a noisy neural population — the same principles behind real motor-cortex BMI research such as the BrainGate trials.

⚙ Under the hood

2D brain-machine interface lab with cosine-tuned cortical neurons, a population-vector decoder, and a 2-link planar robot arm; live raw and smoothed decode-error readouts show how neuron count, noise and tuning sharpness change decode accuracy.

brain-machine interfacepopulation vectormotor cortexneural decodinginverse kinematicscosine tuning

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

What did you find?

Add reproduction steps (optional)