← f_ notebook · Mirrors · ∇ Fields

f_vf_vortex, live ​

A fixed-point vector field that slides between sink, spiral, pure rotation, spiral source and source.

The cell below steps the NumPy mirror that f_vf_vortex'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_vortex · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • center x, center y place the fixed point; off-center and off-screen points are valid.
  • convergence is the inward pull: positive sinks toward the center, negative spreads outward.
  • curl rotates the field: positive spins counter-clockwise, negative clockwise; combined with convergence it makes spiral sinks or spiral sources.
  • falloff is the exponential decay rate from the center: 0 gives a uniform field, higher values tighten the vortex.
  • bypass blends the field toward neutral gray (0.5, 0.5), the f_vecfield zero vector.
  • display gain brightens the color mapping of the field only (the field is untouched).
  • No inputs: this cell renders its own fixed-point field (the module's control inlet only).

reference doc · patcher · vf_vortex_mirror.py

← RepulseVortex Multi →