← f_ notebook · Mirrors · ∇ Effects

f_vf_glow, live ​

Averages the source along the local vecfield direction with Gaussian weights: an anisotropic glow that turns with the field instead of radiating evenly.

The cell below steps the NumPy mirror that f_vf_glow'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_vf_glow · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • view shows the composite (source plus glow mixed in) or the isolated glow layer alone.
  • radius is the UV step per accumulation step at full field strength; higher spreads the glow further before it blurs into streaks.
  • falloff is the Gaussian weight coefficient across the 48 accumulation steps; higher tightens the glow, 0 makes all steps equal.
  • gain scales the glow into the composite.
  • mix crossfades the composite from the plain source toward the source plus glow; 0 shows no glow.
  • color mix blends the glow from full color toward a neutral white (luma) glow.
  • direction picks bidirectional accumulation, forward only (trail), or backward only (lead) along the field.
  • The input select picks the source image; the field arriving on the second input shapes where the glow spreads.

reference doc · patcher · vf_glow_mirror.py

← CausticParticles →