← f_ notebook · Mirrors · ∇ Fields

f_vf_vortex_multi, live ​

Three independent vortex sinks sum into one vecfield: converge, spin each site, and pull them together with falloff.

The cell below steps the NumPy mirror that f_vf_vortex_multi'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_multi · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • site 1 convergence sets the inward pull of the upper-left site; site 1's position is fixed at (0.3, 0.3).
  • site 1 curl overlays rotation on site 1; negative spins the other way.
  • site 2 x slides the center site toward site 1 or site 3; overlapping sites reinforce into one bright zone.
  • site 2 convergence sets the center site's inward pull (its y is fixed at 0.5).
  • site 2 curl sets the center site's spin direction and strength.
  • site 3 convergence sets the lower-right site's inward pull (its position is fixed at (0.7, 0.7)).
  • site 3 curl sets the lower-right site's spin direction and strength.
  • falloff shrinks (high) or widens (low) every site's zone of influence.

reference doc · patcher · vf_vortex_multi_mirror.py

← VortexAdvect →