A javascript real-time neural simulation
29 Jun 2022I wrote this around 2015-2016, when I first realized that Javascript code can run very fast.
Run your mouse over the neurons of the network to seed the activity. These are integrate-and-fire neurons with nearest-neighbor connections, so the activation propagates in waves. The connections also follow a synaptic timing-dependent plasticity (STDP) learning rule, so interesting patterns may emerge.
Neural net simulation
each blob is a leaky integrate-and-fire neuron | |
redness indicates membrane voltage and spiking | |
neurons are noisy | |
there are synapses with all 8 neighbors | |
synapses are plastic with a timing-dependent rule | |
use mouse or touch to input a Gaussian-profile current into the net |