Neuron Simulation
Live leaky integrate-and-fire dynamics without the fetch loop
Deterministic physiology, local computation, and a typed UI state model make this the cleanest baseline lab in the app.
Membrane trace
Voltage over time
Summary
Firing regime
Spikes
3
Firing rate
30.0 Hz
Mean ISI
34.20 ms
What changes fastest
inputCurrent, threshold, and refractoryPeriod dominate the phenotype. tau mostly changes how slowly the membrane ramps into that phenotype.
What to notice
- With 2.0 nA of drive, the model fires at 30.0 Hz.
- Below a certain drive, the membrane creeps upward but never reaches threshold.
- Once threshold is crossed, the trace becomes a repeated cycle of ramp, spike, reset, and refractory pause.
- Shorter refractory periods allow higher maximum firing rates even with the same input current.
Biological analogies
tau
Membrane time constant. Larger values make the membrane integrate more slowly before it leaks away charge.
restingPotential
Baseline voltage set by ionic gradients and leak channels, usually near -70 mV in a typical neuron.
threshold
The voltage where voltage-gated sodium channels would open strongly enough to trigger a spike.
resetPotential
A stylized after-hyperpolarization that follows a spike before the membrane starts integrating again.
refractoryPeriod
The brief interval where sodium channels are inactivated and the neuron cannot immediately spike again.
inputCurrent
A stand-in for synaptic drive from other neurons. More current pushes the membrane toward threshold faster.