Free tools & games for everyone
Free · No sign-up · No accounts
Make a nerve cell fire: the Hodgkin-Huxley model with pulses, steady currents and ramps. See spikes, gates, the refractory period and firing rates.
| Tab | Move between tabs, lists, boxes and buttons |
|---|---|
| Enter in a box | Run again |
Alan Hodgkin and Andrew Huxley described in 1952 how a nerve fibre makes a spike, work that won the 1963 Nobel Prize. The membrane is a capacitor (1 µF/cm²) with three paths for current: sodium channels (up to 120 mS/cm², pushing towards +50 mV), potassium channels (up to 36 mS/cm², towards -77 mV) and a small leak (0.3 mS/cm², towards -54.4 mV). Sodium is open in proportion to m³h and potassium to n⁴; each gate opens and closes with rates that depend on the voltage. We use the standard modern form of their rate equations, with rest near -65 mV, and solve the four equations with the fourth-order Runge-Kutta method in steps of 0.01 ms. A spike is counted when the voltage rises through 0 mV.
The integrate-and-fire neuron has only the leak: the voltage climbs towards rest plus current ÷ leak, fires when it is 15 mV above rest, resets and waits 2 ms. Its rate is 1 / (2 ms + τ ln(RI / (RI − 15 mV))) with τ = C / gL. This is a teaching tool about how nerve cells work; it says nothing about any health condition. Everything runs in your browser.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product