Excitatory spike Inhibitory spike Mean E→E weight

LIF Neuron Network with STDP Plasticity (2D)

This 2D companion runs the same leaky-integrate-and-fire network and pairwise STDP rule as the 3D version through a plain canvas view built for reading the dynamics directly: a scrolling spike raster shows every excitatory and inhibitory neuron firing in real time, a voltage trace follows one sampled neuron up to threshold and reset, and a mean-weight trace tracks the recurrent excitatory synapses strengthening or weakening under STDP as you change the external drive, noise and coupling strength.