f_excitable — excitable-media generator (working name)
Status: ⚪ concept only. Captured 2026-11-28 (Claude offline, docs only) from ideas/visualpde_survey.md. Equations are observed in VisualPDE's presets.js; behavior in Max is inferred. Nothing tried. Priority 3 in the survey: the novelty is lower than it first looks because f_cgl and f_wc already give spirals.
Why this one
An excitable medium has a resting state, a threshold and a recovery period. A kick above threshold sends a wave; waves annihilate on collision and curl into spirals at broken ends. The look is distinct from the continuous oscillator waves of f_cgl: sharp fronts, a refractory tail, no overlap. It reacts to a stimulus, which suits a texture inlet.
Kinetics VisualPDE carries (observed)
| Preset | Kinetics | Parameters |
|---|---|---|
FitzHugh-Nagumo | du/dt = u - u^3 - v, dv/dt = e_v (u - a_v v - a_z) | e_v = 0.5, a_v = 1, a_z = -0.1; v diffuses 20; dt 0.001; spatial step 1.4; domain 280 |
FitzHugh-Nagumo-Spirals | du/dt = u - u^3/3 - v, dv/dt = eps (u + a - b v) | eps = 0.02, a = 0.5, b = 0.6; v diffuses eps^2; dt 0.01; domain 400; seeded 3 (cos(x/10) cos(y/10) + RANDN) |
FNWaves (Allee-type) | dv/dt = v (1 - v)(v - a) - w, dw/dt = eps (gamma v - w) | a = 0.2, gamma = 2, D = 0.01, eps = 0.001; dt 0.02; spatial step 0.1 |
Related presets by name only (not opened): FitzHugh-Nagumo-Hopf, FitzHugh-Nagumo-3, NoisyFHN, FHNBeatingHeart, FHNGrowingHeart (the same kinetics on a heart-shaped domain), TuringWaveFHN, TuringWaveFHN2D, bistableTravellingWave, travellingWave.
What f_ would offer
- Stimulus inlet: a texture's luma adds to
uas a kick, so a camera or a moving shape launches waves. The precedent isf_wc's pulse inlet. - Excitability dial (a distance from threshold), recovery rate and front width; from the parameter tables above that is
aora_zandeps, but which dials survive a panel review is open. - Seeds: a broken wave that curls into a spiral (the
FitzHugh-Nagumo-Spiralsseed is the recipe), noise, or a stimulus-only start. Excitable media do not self-sustain from a flat start, unlikef_ks; that needs an explicit "keep alive" (a periodic pulse, asf_wcdoes) or a seed that is a spiral. - Outlets: look (u), recovery variable (v) as a second scalar, and a wavefront mask.
Overlap
f_cgl: spirals again, but a different mechanism (an oscillating medium, not an excitable one).f_wc: Wilson-Cowan is an excitatory-inhibitory neural field and can form spirals and waves. The character differs (a retinal map, a pulse-fed web) but the family overlap is real. Decide whether this module is distinct enough once both exist.f_ca(ideas/f_ca.md, concept): forest-fire and Greenberg-Hastings automata are discrete excitable media. This is their continuous cousin.
Solver and cost [inferred, unchecked]
The same explicit real-space stepper as f_gs (ideas/f_rd_stepper_spike.md). The FNWaves preset has a very fast and a very slow species (eps = 0.001), so the timescale spread is large; that argues for a rate dial that scales model time per frame, not a fixed substep count.
Open questions
- How to keep it alive without becoming a pulsed generator in disguise.
- Which kinetics to ship: a single FitzHugh-Nagumo form with a regime menu, or Barkley, or both.
- Overlap with
f_wcafter both are used in Max. - Boundary: reflecting walls are what makes spirals persist; periodic wrap is a different look.
Gate
P-pattern-gen. Menu home: PDE (G-menu).