← f_ notebook · Mirrors · PDE

f_wc, live ​

A Wilson-Cowan excitatory/inhibitory solver shown through a log-polar retinal map: the silky form-constant web of tunnels, spirals and honeycombs, kept alive by a square-wave pulse.

The cell below steps the NumPy mirror that f_wc's tests are written against, in your browser. It is the NumPy mirror, not the Max patch, and it is not claimed to match the patch bit for bit.

f_wc · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • depth is the pulse depth, the excitability added to the excitatory field each half-period; 0.6 is the source, higher kills the web, 0 fades it out.
  • period is the pulse's square-wave period in frames; shorter pulses drive harder, longer ones breathe slower.
  • grain spaces the blur taps: under 1 finer wormier stripes, over 1 bigger softer cells (over 1.5 a moire, kept on purpose).
  • pulse gain scales the input image's brightness before it becomes the pulse (no effect at mix 0).
  • pulse mix blends the input image's luma with the internal square wave: 0 internal wave only, 1 image only.
  • steps per frame runs several solver steps per displayed frame so the web forms and evolves sooner.
  • view switches between the retinal log-polar map and the unwrapped cortical grid (periodic, for wrapping downstream).
  • Input: the image's luma is the external pulse. Rings are the natural starting image; the web grows out of its bright bands.
  • Reseed starts from fresh noise; reset is slow on purpose, the pattern takes hundreds of frames to form.

reference doc · idea note · patcher · wc_parity_mirror.py

← NematicDroste →