f_vf_repulse, live
Turns any texture into a repulsion vector field: 16 ring samples per pixel push away from bright regions. Choice of four accumulation modes.
The cell below steps the NumPy mirror that f_vf_repulse'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.
Downloads about 15 MB the first time (Python and NumPy).
gainscales the field magnitude; negative values attract instead of repel.reachis the ring sample radius in normalized UV; larger rings push from farther away.thresholdsets the luma level above which a region repels; negative values repel from dark regions.modepicks how the sixteen samples combine: cancel (opposing pushes neutralize), max (strongest sample wins), abs add (magnitudes reinforce), turbulent (curl injected in stagnation zones).viewpicks the display: hue-arrows (vec) or field strength as gray.disp gainscales the arrow display only (both the vec and the magnitude views), not the field math.- The source select switches between color bars (color) and rings (geometry).