PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 50 in Biophysics, Fluids & Geoscience.

View category →
NewSchool

Coupled FitzHugh–Nagumo Neurons

Launch Simulator

Two excitable FHN units with diffusive coupling: phase plots, time traces, and synchronization vs coupling strength.

NewUniversity / research

Hodgkin–Huxley Action Potential

Launch Simulator

Squid-axon HH ODEs: membrane voltage V(t) and gating (m, h, n); step stimulus and Na⁺/K⁺ conductance traces.

NewUniversity / research

Hodgkin-Huxley / FHN Neuron Network

Launch Simulator

Multi-node excitable network using FHN reductions of HH dynamics: chain/ring topology, sigmoidal synaptic coupling, propagation delay, pacer-driven waves, and bursting-like activity.

NewUniversity / research

Cardiac Action Potential

Launch Simulator

FitzHugh–Nagumo/Noble-style cardiac toy: fast upstroke, plateau-like repolarization, refractory recovery gate, and S1-S2 premature-stimulus capture vs block.

NewUniversity / research

Calcium Waves / IP3 Oscillator

Launch Simulator

Li-Rinzel-style IP3 receptor oscillator: cytosolic Ca, ER store, calcium-induced calcium release, SERCA refilling, flux traces, and a Ca–h phase portrait.

NewUniversity / research

Circadian Oscillator (Goodwin Clock)

Launch Simulator

Goodwin-style molecular clock: delayed negative transcriptional feedback, mRNA/protein/repressor phase lag, period readout, and light-pulse phase advance or delay.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Biophysics, Fluids & Geoscience/Integrate-and-Fire Neuron Network

Integrate-and-Fire Neuron Network

Leaky LIF neurons with refractory period, synaptic weights, raster plot, membrane traces, and a synchrony readout.

Simulation

Presets

AI: subthreshold drive, noise, sparse graph. Volleys: strong excitatory all-to-all. Weak: ring, small w. Inhibition: negative w with a large shared I_ext.

LIF parameters

24
19.5
20 ms
2 ms
3.5 ms
-50 mV
9
10

Each cell is leaky integrate-and-fire (leak, threshold, reset, refractory) — not Hodgkin–Huxley gates and not FitzHugh–Nagumo. A spike of j jumps I_syn,i by w W_ij; I_syn then decays with τs. W is 1/(N−1) all-to-all, 1/degree on a ring, or Erdős–Rényi (p = 0.2) scaled to the same mean incoming weight. Negative w is inhibition. Changing N rebuilds the arrays on reset.

Shortcuts

  • •Space / Enter — play / pause
  • •P — pause / resume
  • •R — reset network

Measured values

pop. rate0.0Hz
synchrony0.000
spikes in window0
τref max rate500Hz
t0ms
N24

This page is leaky integrate-and-fire, not a Hodgkin–Huxley axon and not the FitzHugh–Nagumo “HH network”. Spikes are threshold events; the action-potential waveform is omitted on purpose so a raster of N cells stays interactive.

About this model

Each neuron is a leaky integrate-and-fire unit: τm V′=−(V−Vrest)+R Iext+R Isyn, with a spike when V reaches Vth, reset to Vreset, and a refractory interval τref. Synapses are current-based: a presynaptic spike adds a jump or exponential pulse weighted by wij. The canvas shows a raster of spike times, a few membrane traces, and a population synchrony score (e.g. pairwise coincidence or Kuramoto order on recent spikes). This is not Hodgkin–Huxley or FitzHugh–Nagumo — those pages model the action-potential waveform.

Who it's for: Computational neuroscience and neural-engineering introductions to spiking networks.

Key terms

  • Leaky integrate-and-fire
  • Refractory period
  • Raster plot
  • Synaptic weight
  • Synchrony
  • Threshold

How it works

A network of leaky integrate-and-fire neurons: each cell leaks toward rest, spikes at threshold, resets, and is silent for a refractory interval. Current-based synapses jump on every presynaptic spike and decay exponentially. The canvas is a scrolling spike raster plus three membrane traces and a population synchrony score.

Key equations

τ_m V̇_i = −(V_i − V_rest) + R (I_ext + I_syn,i + I_noise,i), V_i ≥ V_th and not refractory → spike, V_i ← V_reset, refractory timer = τ_ref. τ_s İ_syn = −I_syn; on a spike of j, for each i: I_syn,i ← I_syn,i + w W_ij. Synchrony (0–1) blends mean pairwise spike coincidence in an 80 ms window (±4 ms) with a Kuramoto order from last-ISI phases φ_i = 2π (t − t_i)/ISI_i. R = 1, V_rest = −70 mV, V_reset = −78 mV. Forward Euler, dt = 0.05 ms. I_noise is an OU current (Box–Muller) plus a quenched bias.

Frequently asked questions

Why not use Hodgkin–Huxley for every cell?
HH is expensive and focuses on channel kinetics of one spike. LIF keeps only leak, threshold, reset, and synapses, so a small network and a raster stay interactive in the browser.
What does the synchrony readout mean?
Values near 1 mean many neurons fire in tight volleys; values near 0 mean asynchronous irregular firing. Coupling, shared drive, and noise trade off those regimes.
What does the refractory period do?
After a spike the voltage is clamped at reset for τref, imposing a hard maximum rate ~1/τref and preventing immediate re-fire from leftover synaptic current.