Anod
The engine was never fluid at heart; it is symplectic — a coordinate field deformed by exact maps. Suminagashi was its first medium, not the engine itself: the composite that reads the field as ink phase on washi. Anod is the second reading of the same field. Switch between them in the settings (Medium: Sumi, Anod) — the medium guide has the player’s side; this page is the mathematics.
Strain, not bands. Every texel of the field stores where its material came from. Finite-differencing those coordinates between neighbours gives the Jacobian of the accumulated map, and for an area-preserving map with singular values , ,
zero for the identity and for pure rotation, positive wherever the sheet has been strained. Charged material — the ink, re-read — glows by it, over a base that makes a fresh strike visible as charge, like ionized gas over near-black glass. The charge phase bands each filament between the palette’s core and halo; the aux channel drifts the hue per event. Glow scale is , the strain a texel needs to glow: smaller is hotter, sooner.
The glow. The discharge blooms as a photograph of it would: the emission, blurred over a few octaves (Glow bloom, Glow reach), is added back to itself and the brightest filaments clip toward white — a wide cold halo, a neon mid, a white-hot core. The glass under it is black (Glass darkness), with a screen-locked speckle (Phosphor grain). Prints and exports bloom the same.
The far field is the grid. Water carries no charge and never glows by
strain. It shows the field itself: the deformed grid, iso-lines of position
plus a gain times the displacement, one family per axis, drawn wherever the
water has moved by more than a texel and nowhere it rests. A drop’s
displacement reaches far — it falls off as — so its lines reach far
too: one family converges on the note, the other bulges round it, the
picture of a dipole’s field, and a burst’s lobes and a spark’s jagged shears
draw their own. The pitch of the grid at rest is Grid lines (anod_pitch,
lines per canvas height; zero turns the grid off and leaves the water
glass). The picture was first seen by accident — a half-float staircase
beating against a large window drew the iso-lines of the source coordinates
— and then drawn on purpose, with the accident’s gains kept because they
made the picture the author chose.
Switching is live. The field is medium-agnostic, so switching re-reads the same deformation history: a marbled sheet becomes a discharge record and back, bitwise. The dip stays a key away for a fresh sheet.
The spark reading (v3.0)
Section titled “The spark reading (v3.0)”The plasma above reads as a density: every stretched texel glows
in proportion, a sheared region glows uniformly across its area, soft
edges, bloom. A spark is a different reading of the same field — a thin
core, a corona, afterglow, branches — and Glow reading (anod_glow_mode)
switches between the two. The reading is a reader: the field is bitwise
under it whatever its knobs say, and the plasma is bitwise 2.0’s. Since
step 76b the strike follows the reading too: a plasma strike is 2.0’s
blob episode, a spark strike is that episode with the
leader stroke struck beside it.
Ridges, not sheets. A texel lights only where is a local maximum across the strain axis — non-maximum suppression along , with the principal axis of that the Kessho stencil already computes (one function, two readers). The survivors are the finite-time stretching ridges of the performance: the Lagrangian coherent structures of its flow, in the sense of Haller, the ridges of a finite-time Lyapunov field in the sense of Shadden, Lekien and Marsden — which is why FTLE plots of chaotic flows look like lightning tangles: they are this object. On the played canvas the filaments come of their own accord — repeated stretching and folding makes them, a swirl over charge draws it into threads the reader thins to two texels. Isolated strikes never will, and the next paragraph says why. A steep transfer, , keeps the lit fraction to a percent of the canvas.
The plateau — why a strike needed an operator of its own. The Anod strike’s shear episode is a stack of triangle waves at , , with halving weights (the spark page). The slope of such a stack is piecewise constant, so the strain it leaves across the blob is a set of terraces: flat levels, every texel a local maximum of its level, and non-maximum suppression — built to thin a peaked profile — takes only the lower terraces’ edges. Measured: a blob episode under the reading keeps about half its lit texels with the suppression on and every one of them lies within two texels of the plasma silhouette; raw across the blob reads (max − mean)/max ≈ 0.5, the terraces’ levels, not a ridge. On the torsion scene, where differential rotation grades , the same reader thins the rings to under two texels and the suppression switched off reads twice that. The first build of this reading was viewed with the strikes unchanged under it, and a branch trick — a threshold against the phosphor grain — was built, measured and retired: it cannot make an endpoint on a ridge it did not have. A reader can thin a ridge and cannot invent one; line-like looks need line-like operators. The line is written by the leader stroke, which charges the channel it walks, so the ridge the reading lights is the stroke’s own.
The leader and the afterglow. Behind the composite sits the strain buffer (the long-exposure question of 2.0, answered): once a frame the field is read through the stencil into a side buffer that keeps, per texel, the strain being added summed over fifty milliseconds and the same summed over Spark afterglow seconds, decaying. The first is the leader — bright, toward white-blue, the only thing the bloom sees; the second the hot channel cooling in the charge’s own colour, at four tenths of the leader’s weight so the tip stands three times above its wake. A discharge is an event: once nothing strains a texel any more, its leader is gone within a few frames and its channel fades over the afterglow’s time constant. The field itself is untouched — a side buffer, never the payload — so every fixture holds.
Flicker. The ridge threshold is modulated in time by the phosphor grain’s value at the texel — the grain itself stays screen-locked as the substrate invariant demands; only its use in time changes — so the channels flicker without moving.
Ridges light on charge only, as the plasma does; the water keeps its grid, and the stroke brings its own charge with it. Plasma is the default; the spark reading with its stroke is yours to switch on, in the settings, a preset or the INI.
The medium owns its bindings
Section titled “The medium owns its bindings”Under Anod every MPE dimension left at Medium default follows the medium’s table; an explicit mode or a CC route overrides it, exactly as in Sumi:
| Dimension | Sumi default | Anod default |
|---|---|---|
| strike (note-on) | the drop, radius ∝ √velocity | the spark on its charge: the blast, a burst of order burst_order along the note’s axis, the jagged shears |
| press (channel pressure) | the ink feed | torsion spent around the note, as rate |
| per-note bend | glide (a local tine) | the Chladni stir — distance the rate, sign the sense; a vibrato stirs back and forth and comes home |
| slide (CC 74) | hue | the spark’s streamer frequency |
| swirl (poly pressure) | the Lamb–Oseen swirl | tunes the torsion’s wavenumber from its rest upward (and the spark’s when the slide does not own it) |
| mod wheel (CC 1) | the vortex | the Chirikov throw |
The one-consumer rule holds inside the table as everywhere: a wavenumber the bend owns, the slide owns or a CC drives is left to its owner.
Palettes
Section titled “Palettes”Electric blue, plasma orange and phosphor green under the same three ids the sumi palettes use; a user palette is read as a glow — the gradient sampled by strain. Palettes →
Invariants
Section titled “Invariants”- The Sumi composite is untouched: bitwise against the 1.0.0 print fixture with the Anod branch beside it.
- A switch leaves the field bitwise; the composite is a read.
- The charge’s glow tracks its strain: on the harness the charged texels’ luminance correlates with read off the same field by the CPU.
- Water at rest is glass, at 512² and at 1920×1080, where the half-float coordinates round: the rounding draws no line, and a small drop’s grid reaches as far as its displacement and no further; a grid pitch of 0 leaves all water glass with the charge unchanged.
- The strain buffer is a side buffer (v3.0): the field’s payload and the fixtures are untouched; the plasma never reads it, the spark’s leader and afterglow and Kessho’s exposure do. 2.0’s open question — whether a discharge should remember — is answered by the spark reading: it remembers for Spark afterglow seconds, as a hot channel cooling.
- Run to run, bitwise (v3.0): one gesture script twice from one draw
state (
sumi_set_seed) yields the same Anod field byte for byte — the strike’s phase was the engine’s one draw, and the gesture clocks it rebases were the rest; a recording carries the state in its header. - The strike survives a lossy GPU. Six velocity-100 strikes on the Tab’s Adreno keep six charges, as on the desktop — the reason the charge is the classic spark’s size and not a thread.
midi-sink 2.0.0 · AGPL-3.0 · source
