f_particles, live
Scatters 16,384 dots and moves each one along a field every frame, so they gather where the field leads. The display splats the particle positions into an image; that splat is adapter display math, not a mirrored stage.
The cell below steps the NumPy mirror that f_particles'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).
pushchooses what drives the dots:fieldrides the input vector field;descendslides down the input's R channel taken as a scalar;ascendclimbs toward its bright level.speedis the step per frame, as a percent of the frame height.inertiais how long each dot's velocity keeps its previous direction; higher values coast and overshoot.respawnre-places this percent of the dots at their seed positions each frame, loosening the piles.easeonly matters indescendandascend: the push shrinks near the dark (or bright) attractor level.gainbrightens the density image only; the particle motion is untouched.steps per frameruns several update steps per displayed frame, so the dots evolve faster.- The input select picks which synthetic field the dots follow; the display shows the field beneath the dots.
- Reseed returns every dot to a new seed scatter.