createRing, collidingRings, composeNot noise: a closed-form structure. A smoke ring is a compact torus of swirl pushing a jet
through its own middle, written as an explicit curl u = ∇×A — so it is exactly
divergence-free, carries an exact potential, and is exactly zero outside its core (that is why
the particles only move where the ring is). Fly sends it travelling at Kelvin's self-induced
speed Γ/(4πR)·(ln(8R/c) − ¼). Collide fires two of them head-on;
+ noise composes the ring with a broadband field, which is the whole point of
compose. Drag to orbit.
The colour by row exists because of 1.11.0: qCriterion,
λ₂ and stretching used to live only on the mode-sum field, so a closed-form
ring had no diagnostic to colour by at all. All four channels here come from the ring's analytic
velocity gradient. Q is the clearest — it is positive through the vortex core and negative in
the jet the ring pushes through its own middle, so the two structures separate by colour rather than
by position.
Why u·ω is grey on a ring, and why that is the point. A ring's velocity is
poloidal and its vorticity is purely azimuthal, so u·ω is identically zero —
not small, zero, by orthogonality. The readout prints max|u·ω| as the receipt: it reads
~1e-14 against |u||ω| ~ 5e2, which is roundoff, so the particles go grey
rather than claim a handedness. Collide stays grey too while the two cores are disjoint —
each ring is exactly zero where the other lives, so there is nothing to correlate. Only + noise
makes the number jump to ~5e1: compose produces helicity that neither
part had on its own. A two-tone picture there would have been the sign of floating-point noise.