Skip to content

Tine

A tine (a comb tooth, a single stylus drawn through the bath) drags the water along a line through LL with unit direction D^\hat D. Points near the line travel the full stroke; points farther away travel less, with sharpness α\alpha setting how quickly the pull fades:

d=perpendicular distance from P to the line (L,D^),Psrc=P−z D^ αα+d.d = \text{perpendicular distance from } P \text{ to the line } (L, \hat D), \qquad P_{src} = P - z\,\hat D\,\frac{\alpha}{\alpha + d} .
A horizontal tine through the top-left cluster and a vertical one through the bottom-right, each applied as n passes of z/n — the composition invariant, watched.open full size ↗
  • A pure shear. The displacement is always along D^\hat D and depends only on dd, so every line parallel to the stroke translates rigidly. The Jacobian is identically 1: exactly area-preserving and exact at any magnitude — a tine never folds, never needs sub-stepping.
  • Composes exactly. Forty passes of z/40z/40 equal one pass of zz — this is the regression check that guards the engine’s single y-down coordinate space, because a stray vertical flip between offscreen passes makes consecutive deformations cancel instead of compose.

Jaffer’s argument never used the shape of the fall-off: a shear along D^\hat D by any function g(d)g(d) of the perpendicular distance has det⁡J=1\det J = 1. So the profile is a parameter of the tine, tine_profile:

  • Smooth — g=α/(α+d)g = \alpha / (\alpha + d), the stroke above, bitwise.
  • Twin kink (Baumhauer, 1879 — the calcite twin lamella) — g=1g = 1 out to d=H/3d = H/3, then linear to 00 at H=4αH = 4\alpha: the shear is a rigid slip inside the lamella and is concentrated in two kink lines where JJ jumps. In Sumi the bands step across the lamella as facets; in Kessho the lamella’s interior is unstrained and dark between two sharply edged lit bands.
  • Terrace (the phyllosilicate slip of a mica sheet) — g=stair4(1−d/H)g = \mathrm{stair}_4(1 - d/H) with stairN(v)=v−sin⁡(2πNv)/(2πN)\mathrm{stair}_N(v) = v - \sin(2\pi N v)/(2\pi N): four flat steps descending from the line to zero at HH.

Every profile is a bump, zero at and beyond HH: the first draft’s monotone ramp and staircase were exact too, but they displace the two half-planes against each other and pull texels in from off the sheet. The bench keeps that fault as a red control — under it the soak’s (+z,−z)(+z, -z) pair is not a pair at all (an odd profile reversed is the same shear), and the ink slides off the canvas. The glide (per-note bend) and the master bend inherit the profile; the crossed tines of the pinch keep the smooth one.

  • Per-note pitch bend → glide (bend_mode = 0, the default). The bend drags that voice’s drop along the pitch axis, emitting a narrow tine along the drag each frame the bend changes — per voice, never a global shear, in MPE mode. On the playable lattices (chromatic grid, Jankó, piano grid) a one-semitone bend moves the drop exactly one cell, so the drop travels under the finger; the other layouts keep a rendering cap.
  • Master-channel pitch bend (range ±2) → a global shear tine, in both bend modes. In classic mode this is what the bend wheel does.
  • Marble mode: a one-finger drag, or a left drag with the mouse.

α is the sharpness — small values make a knife-edge crease, large values a broad sweep; z is the stroke magnitude in canvas heights.

midi-sink 2.0.0 · AGPL-3.0 · source