f_vf_erode, live
A water-and-pigment solver: the picture is wet onto the paper, a flow field pushes the water, and ink pools in the lows and drains from the highs.
The cell below steps the NumPy mirror that f_vf_erode'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).
viewswitches between the ink composite (outlet 0) and the thickness of the pigment on the paper (outlet 1).flowruns the water downhill; on the flat frame it mainly shapes how far the wash spreads.liftis how readily running water picks pigment off the paper (a square curve, 0.7 means the old 0.9 rate).settleis how readily slow water puts pigment back down (a cubic curve), so less ink is carried far.floodis the water depth a wetting adds; Strike re-wets with this much water.feedkeeps re-depositing the picture each step, so an animated second input continuously repaints; 0 is the wet-once wash.fadereturns pooled ink above what the picture holds toward the picture (only acts while feed is above 0).steps per frameruns several solver steps per displayed frame; the wash dries in a few hundred steps, so this speeds it up.- The first input selects the flow field that pushes the water; the second is the picture being washed. Reseed re-wets.
- Strike re-wets the current picture: fresh water, the paper pigment replaced.